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