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

13 lines
672 B
Markdown
Raw Normal View History

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)
# coroutineScope
2020-06-10 00:27:52 -07:00
`var coroutineScope: CoroutineScope`
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.