Methods
This section describes the methods associated with the Streams API.
In this section
Topic | Description |
---|---|
The cancel method signals that the reader no longer has need of the stream, thus throwing away any queued data. |
|
The cancel method initiates the cancel method of the readable steam. |
|
The getReader method creates a stream reader and locks the stream to the new reader. |
|
The read method allows access to the next chunk from the stream’s queue. |
|
The releaseLock method releases the reader's lock on the corresponding stream. |