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 operator override fun equals(other: Any?): Boolean
Link copied to clipboard
abstract override fun hashCode(): Int
Link copied to clipboard
abstract suspend fun repeatOnLifecycle(mode: SubscriptionMode, block: suspend CoroutineScope.() -> Unit)

Repeat the execution of the block using the specified mode.