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