Sets the callback which is called when the stream is canceled.
This overrides the previous callback, or clears it if the onCancelHandler
is null
.
Sets the callback which is called when the stream is canceled.
This overrides the previous callback, or clears it if the onCancelHandler
is null
.