This page is not complete.
Note: If the reader is active, the
behaves the same as that for the associated stream
var promise = readableStreamBYOBReader.cancel(reason);
- reason Optional
- A human-readable reason for the cancellation. The underlying source may or may not use it.
Promise, which fulfills with the value given in the
- The source object is not a
ReadableStreamBYOBReader, or the stream has no owner.
The definition of 'cancel()' in that specification.
|Living Standard||Initial definition.|
BCD tables only load in the browser