A safe subscriber safe guards subscriber implementations, such that:
A safe subscriber safe guards subscriber implementations, such that:
- the
onCompleteandonErrorsignals are back-pressured - errors triggered by downstream observers are caught and logged,
while the upstream gets an
Ack.Stop, to stop sending events - once an
onErrororonCompletewas emitted, the observer no longer acceptsonNextevents, ensuring that the grammar is respected - if downstream signals a
Stop, the observer no longer accepts any events, ensuring that the grammar is respected
- Companion
- object