This article needs a technical review. How you can help.
This article needs an editorial review. How you can help.
This is an experimental technology
Because this technology's specification has not stabilized, check the compatibility table for usage in various browsers. Also note that the syntax and behavior of an experimental technology is subject to change in future versions of browsers as the specification changes.
The ReadableByteStream interface of the the Fetch API represents a readable stream of byte data.
Methods
ReadableStream.getReader()
- Creates a reader of the type specified by the
mode
option and locks the stream to the new reader. While the stream is locked, no other reader can be acquired until this one is released. ReadableStream.cancel()
- 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.
Specifications
Specification | Status | Comment |
---|---|---|
Streams The definition of 'ReadableStream' in that specification. |
Living Standard | Initial definition |
Browser Compatibility
Feature | Chrome | Firefox (Gecko) | Internet Explorer | Opera | Safari (WebKit) |
---|---|---|---|---|---|
Basic support |
52.0 |
? | ? |
39 |
? |
Feature | Android | Android Webview | Firefox Mobile (Gecko) | Firefox OS | IE Mobile | Opera Mobile | Safari Mobile | Chrome for Android |
---|---|---|---|---|---|---|---|---|
Basic support | No support | 52.0 | ? | ? | ? | 39 | ? | 52.0 |