Completable Wrapper
Wrappers are normally exposed to Swift. You can also extend the wrapper class if you need to expose any additional operators.
Functions
Returns a Completable that first runs this Completable and waits for its completion, then runs the other Completable.
Returns an Observable that first runs this Completable and waits for its completion, then runs the other Maybe.
Returns an Observable that first runs this Completable and waits for its completion, then runs the other Observable.
Returns a Single that first runs this Completable and waits for its completion, then runs the other Single.
Converts this Completable into a Maybe.
Converts this Completable into an Observable.
Converts this Completable into a Single which emits the defaultValue when this Completable completes.
Converts this Completable into a Single which emits a value returned by defaultValueSupplier when this Completable completes.
Blocks current thread until the current Completable completes or fails with an exception (which is propagated). ⚠️ Please note that this method is not available in JavaScript due to its single threaded nature. A runtime exception will be thrown when this method is called in JavaScript. If you need this in JavaScript for testing purposes, then consider using Single.testAwait() extension from the reaktive-testing module.
Delays onComplete signal from the current Completable for the specified time. The onError signal is not delayed by default, which can be enabled by setting the delayError flag.
Delays the actual subscription to the Completable for the specified time.
Calls the action when the Completable signals onComplete. The action is called after the observer is called.
Calls the shared action when the Disposable sent to the observer via onSubscribe is disposed. The action is called after the upstream is disposed.
Calls the consumer with the emitted Throwable when the Completable signals onError. The consumer is called after the observer is called.
Calls the action when one of the following events occur:
Calls the shared action for each new observer with the Disposable sent to the downstream. The action is called for each new observer after its onSubscribe callback is called.
Calls the action when the Completable signals a terminal event: either onComplete or onError. The action is called after the observer is called.
Calls the action with the emitted value when the Completable signals onComplete. The action is called before the observer is called.
Calls the shared action when the Disposable sent to the observer via onSubscribe is disposed. The action is called before the upstream is disposed.
Calls the consumer with the emitted Throwable when the Completable signals onError. The consumer is called before the observer is called.
Calls the action when one of the following events occur:
Calls the shared action for each new observer with the Disposable sent to the downstream. The action is called for each new observer before its onSubscribe callback is called.
Calls the action when the Completable signals a terminal event: either onComplete or onError. The action is called before the observer is called.
Signals all events of the Completable on the specified Scheduler.
Returns a Completable which completes when this Completable signals onError.
When the Completable signals onError, resumes the flow with next Completable.
When the Completable signals onError, resumes the flow with a new Completable returned by nextSupplier.
When the Completable signals onComplete, re-subscribes to the Completable, times times.
When the Completable signals onComplete, re-subscribes to the Completable if the predicate function returns false.
When the Completable signals onComplete, re-subscribes to the Completable when the Maybe returned by the handler function emits a value.
When the Completable signals onError, re-subscribes to the Completable if the predicate returns true.
When the Completable signals onError, re-subscribes to the Completable, up to times times.
Returns a Completable that automatically resubscribes to this Completable if it signals onError and the Observable returned by the handler function emits a value for that specific Throwable.
Subscribes the specified Observer to this Source
Subscribes to the Completable and provides event callbacks.
Returns a Completable that subscribes to the source Completable on the specified Scheduler.
Disposes the current Completable if it does not signal within the timeout, and subscribes to other if provided.