2020-06-10 00:27:52 -07:00
|
|
|
[zcash-android-wallet-sdk](../../index.md) / [cash.z.ecc.android.sdk](../index.md) / [SdkSynchronizer](index.md) / [coroutineScope](./coroutine-scope.md)
|
2019-08-30 10:05:02 -07:00
|
|
|
|
|
|
|
# coroutineScope
|
|
|
|
|
2020-06-10 00:27:52 -07:00
|
|
|
`var coroutineScope: CoroutineScope`
|
2019-08-30 10:05:02 -07:00
|
|
|
|
2020-01-15 05:07:00 -08:00
|
|
|
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](start.md) function.
|
|
|
|
Everything launched by this Synchronizer will be cancelled once the Synchronizer or its
|
2020-06-10 00:27:52 -07:00
|
|
|
parentScope stops. This coordinates with [isStarted](is-started.md) so that it fails early
|
2020-01-15 05:07:00 -08:00
|
|
|
rather than silently, whenever the scope is used before the Synchronizer has been started.
|
2019-08-30 10:05:02 -07:00
|
|
|
|