E - the lifecycle event type.public interface LifecycleScopeProvider<E>
ScopeProvider implementations that resolve the next corresponding lifecycle event and construct
a Completable representation of it from the lifecycle() stream.
Convenience resolver utilities for this can be found in LifecycleScopes.
LifecycleScopes| Modifier and Type | Method and Description |
|---|---|
CorrespondingEventsFunction<E> |
correspondingEvents() |
<any> |
lifecycle() |
E |
peekLifecycle() |
<any> lifecycle()
CorrespondingEventsFunction<E> correspondingEvents()
E peekLifecycle()
null if none. Note that is null is
returned at subscribe-time, it will be used as a signal to throw a LifecycleNotStartedException.