@CheckReturnValue inline fun Lifecycle.scope(): ScopeProvider
Extension that returns a ScopeProvider for this Lifecycle.
@CheckReturnValue inline fun Lifecycle.scope(untilEvent: Event): ScopeProvider
Extension that returns a ScopeProvider for this Lifecycle.
untilEvent - the event until the scope is valid.
@CheckReturnValue inline fun Lifecycle.scope(boundaryResolver: CorrespondingEventsFunction<Event>): ScopeProvider
Extension that returns a ScopeProvider for this Lifecycle.
boundaryResolver - function that resolves the event boundary.