public interface CompletableOnSubscribe
subscribe() method that receives
an instance of a CompletableEmitter instance that allows pushing
an event in a cancellation-safe manner.| Modifier and Type | Method and Description |
|---|---|
void |
subscribe(CompletableEmitter e)
Called for each CompletableObserver that subscribes.
|
void subscribe(@NonNull CompletableEmitter e) throws java.lang.Exception
e - the safe emitter instance, never nulljava.lang.Exception - on error