Interface CompletableOperator

All Superinterfaces:
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

An operator contract for a Completable. Logically an operator sits between a Completable and a CompletableSource.Subscriber and hence it has two responsibilities: So, an operator can be defined as a Function that takes a CompletableSource.Subscriber and returns a CompletableSource.Subscriber. The CompletableSource.Subscriber that is passed to this Function is the one that has subscribed to this operator. The CompletableSource.Subscriber that is returned by this Function is the one that should be used to subscribe to the Completable on which this operator is applied.