T
- the value type emittedpublic interface Emitter<T>
Modifier and Type | Method and Description |
---|---|
void |
onComplete()
Signal a completion.
|
void |
onError(java.lang.Throwable error)
Signal a Throwable exception.
|
void |
onNext(T value)
Signal a normal value.
|
void onNext(@NonNull T value)
value
- the value to signal, not nullvoid onError(@NonNull java.lang.Throwable error)
error
- the Throwable to signal, not nullvoid onComplete()