TestScopeProvider

ScopeProvider implementation for testing. You can either back it with your own instance, or just stub it in place and use its public emit APIs.

Functions

Link copied to clipboard
Creates a new provider backed by an internal CompletableSubject.
open fun create(delegate: Completable): TestScopeProvider
Creates a new provider backed by delegate.
Link copied to clipboard
open fun emit()
Emits a success event, just a simple Object.
Link copied to clipboard
Returns a CompletableSource that, upon completion, will trigger disposal.