zcash-android-wallet-sdk/docs/-sdk-synchronizer/coroutine-scope.md

672 B

zcash-android-wallet-sdk / cash.z.ecc.android.sdk / SdkSynchronizer / coroutineScope

coroutineScope

var coroutineScope: CoroutineScope

The lifespan of this Synchronizer. This scope is initialized once the Synchronizer starts because it will be a child of the parentScope that gets passed into the start function. Everything launched by this Synchronizer will be cancelled once the Synchronizer or its parentScope stops. This coordinates with isStarted so that it fails early rather than silently, whenever the scope is used before the Synchronizer has been started.