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)
|
2019-03-28 23:31:25 -07:00
|
|
|
|
|
|
|
# start
|
|
|
|
|
2020-01-15 05:07:00 -08:00
|
|
|
`abstract fun start(parentScope: CoroutineScope? = null): `[`Synchronizer`](index.md)
|
2019-03-28 23:31:25 -07:00
|
|
|
|
|
|
|
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.
|
|
|
|
|