This page is not complete.
cancel() method of the
ReadableStreamBYOBReader interface cancels the stream, signaling a loss of interest in the stream by a consumer. The supplied reason argument will be given to the underlying source, which may or may not use it.
Note: If the reader is active, the
cancel() method behaves the same as that for the associated stream (
DOMStringproviding a human-readable reason for the cancellation.
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.|
The compatibility table in this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
No compatibility data found. Please contribute data for "path.to.feature.NameOfTheProperty" (depth: 1) to the MDN compatibility data repository.