@FunctionalInterface public interface CompletableSource
Completable
source base interface,
consumable via an CompletableObserver
.Modifier and Type | Method and Description |
---|---|
void |
subscribe(@NonNull CompletableObserver observer)
Subscribes the given
CompletableObserver to this CompletableSource instance. |
void subscribe(@NonNull @NonNull CompletableObserver observer)
CompletableObserver
to this CompletableSource
instance.observer
- the CompletableObserver
, not null
NullPointerException
- if observer
is null