doOnCancel
Run the given function when the downstream cancels.
Signature
Source.doOnCancelSource.doOnCancel Flow.doOnCancelFlow.doOnCancel
Description
Run the given function when the downstream cancels.
Reactive Streams semantics
emits when upstream emits an element
backpressures when downstream backpressures
completes when upstream completes
cancels when downstream cancels
1.3.0