withScope

inline fun withScope(scope: ScopeProvider, body: AutoDisposeContext.() -> Unit)

Executes a body with an AutoDisposeContext backed by the given scope.


inline fun withScope(completableScope: Completable, body: AutoDisposeContext.() -> Unit)

Executes a body with an AutoDisposeContext backed by the given completableScope.