T
- the value type pushed@FunctionalInterface public interface ObservableOnSubscribe<T>
subscribe()
method that receives
an ObservableEmitter
instance that allows pushing
events in a cancellation-safe manner.Modifier and Type | Method and Description |
---|---|
void |
subscribe(@NonNull ObservableEmitter<T> emitter)
Called for each
Observer that subscribes. |