cancel
Cancels the stream and sets its state to State.ABORTED.
If the stream is currently sending files, all pending file operations will be canceled.
If the stream is in the process of sending the entry, this operation will not have any effect.
Cancels the stream and sets its state to State.ABORTED.
If the stream is currently sending files, all pending file operations will be canceled.
If the stream is in the process of sending the entry, this operation will not have any effect.