Top Description Methods
io.reactivex

public Interface FlowableOnSubscribe<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 FlowableEmitter instance that allows pushing events in a backpressure-safe and cancellation-safe manner.

Method Summary

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

Called for each Subscriber that subscribes.

Method Detail

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

Called for each Subscriber that subscribes.

Parameters
emitter:FlowableEmitter<T>

the safe emitter instance, never null

Exceptions
Exception:
on error