Top Description Methods
io.reactivex

public Interface MaybeOnSubscribe<T>

Type Parameters
<T>
the value type pushed
Imports
io.reactivex.annotations.*

A functional interface that has a subscribe() method that receives an instance of a MaybeEmitter instance that allows pushing an event in a cancellation-safe manner.

Method Summary

Modifier and TypeMethod and Description
public void
subscribe(MaybeEmitter<T>
the safe emitter instance, never null
emitter
)

Called for each MaybeObserver that subscribes.

Method Detail

subscribeback to summary
public void subscribe(MaybeEmitter<T> emitter) throws Exception

Called for each MaybeObserver that subscribes.

Parameters
emitter:MaybeEmitter<T>

the safe emitter instance, never null

Exceptions
Exception:
on error