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

505 B

zcash-android-wallet-sdk / cash.z.wallet.sdk / Synchronizer / start

start

abstract fun start(parentScope: CoroutineScope? = null): Synchronizer

Starts this synchronizer within the given scope.

Parameters

parentScope - the scope to use for this synchronizer, typically something with a lifecycle such as an Activity. Implementations should leverage structured concurrency and cancel all jobs when this scope completes.