LifecycleScopes

Utilities for dealing with LifecycleScopeProviders. This includes factories for resolving Completable representations of scopes, corresponding events, etc.

Functions

Link copied to clipboard
Overload for resolving lifecycle providers that defaults to checking start and end boundaries of lifecycles.
Overload for resolving lifecycle providers allows configuration of checking "end" boundaries of lifecycles.
open fun <@NonNull E> resolveScopeFromLifecycle(lifecycle: Observable<E>, endEvent: E): CompletableSource
open fun <@NonNull E> resolveScopeFromLifecycle(lifecycle: Observable<E>, endEvent: E, @Nullable comparator: @Nullable Comparator<E>): CompletableSource
Returns a resolved Completable representation of a given lifecycle, targeting the given event