SubscriberLifecycle
interface SubscriberLifecycle
A subscriber lifecycle is the lifecycle of the Consumer. This is usually the UI lifecycle.
The lifecycle implementation must follow the SubscriptionMode contract as described in the documentation.
Functions
Link copied to clipboard
abstract suspend fun repeatOnLifecycle(mode: SubscriptionMode, block: suspend CoroutineScope.() -> Unit)