Callbacks for handling stream events.
The status codes that can be emitted by the stream.
The type of data emitted by the stream.
Pass these to subscribe() to receive data via next and completion via complete.
subscribe()
next
complete
Callbacks for handling stream events.