@FunctionalInterface
public interface CompletableSource
Modifier and Type | Interface and Description |
---|---|
static interface |
CompletableSource.Processor
A
CompletableSource.Processor represents a processing stage that is both a CompletableSource and a
CompletableSource.Subscriber and obeys the contracts of both. |
static interface |
CompletableSource.Subscriber
Subscriber of the outcome of a
Cancellable . |
Modifier and Type | Method and Description |
---|---|
void |
subscribe(CompletableSource.Subscriber subscriber)
Subscribes to the outcome of this
CompletableSource . |
void subscribe(CompletableSource.Subscriber subscriber)
CompletableSource
.subscriber
- of the outcome.PublisherSource.subscribe(PublisherSource.Subscriber)