zcash-android-wallet-sdk/docs/-synchronizer/start.md

18 lines
592 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) / [Synchronizer](index.md) / [start](./start.md)
# start
2020-01-15 05:07:00 -08:00
`abstract fun start(parentScope: CoroutineScope? = null): `[`Synchronizer`](index.md)
Starts this synchronizer within the given scope.
### Parameters
2020-01-15 05:07:00 -08:00
`parentScope` - the scope to use for this synchronizer, typically something with a
lifecycle such as an Activity. Implementations should leverage structured concurrency and
2020-06-09 20:28:21 -07:00
cancel all jobs when this scope completes.
2020-06-10 00:27:52 -07:00
**Return**
an instance of the class so that this function can be used fluidly.