EventStream interface
Een leesbare stroom die kan worden curseerbaar en wegwerpbaar.
- Uitbreiding
-
ReadableStream<T>,AsyncIterable<T>
Overgenomen eigenschappen
locked |
Overgenomen methoden
Details van overgenomen eigenschap
locked
locked: boolean
Waarde van eigenschap
boolean
overgenomen van ReadableStream.locked
Details overgenomen methode
cancel(any)
function cancel(reason?: any): Promise<void>
Parameters
- reason
-
any
Retouren
Promise<void>
overgenomen van ReadableStream.cancel
getReader()
function getReader(): ReadableStreamDefaultReader<T>
Retouren
ReadableStreamDefaultReader<T>
overgenomen van ReadableStream.getReader
getReader(ReadableStreamGetReaderOptions)
function getReader(options?: ReadableStreamGetReaderOptions): ReadableStreamReader<T>
Parameters
- options
-
ReadableStreamGetReaderOptions
Retouren
ReadableStreamReader<T>
overgenomen van ReadableStream.getReader
getReader({ mode: "byob" })
function getReader(options: { mode: "byob" }): ReadableStreamBYOBReader
Parameters
- options
-
{ mode: "byob" }
Retouren
ReadableStreamBYOBReader
overgenomen van ReadableStream.getReader
pipeThrough<T>(ReadableWritablePair<T, T>, StreamPipeOptions)
function pipeThrough<T>(transform: ReadableWritablePair<T, T>, options?: StreamPipeOptions): ReadableStream<T>
Parameters
- transform
-
ReadableWritablePair<T, T>
- options
-
StreamPipeOptions
Retouren
ReadableStream<T>
overgenomen van ReadableStream.pipeThrough
pipeTo(WritableStream<T>, StreamPipeOptions)
function pipeTo(destination: WritableStream<T>, options?: StreamPipeOptions): Promise<void>
Parameters
- destination
-
WritableStream<T>
- options
-
StreamPipeOptions
Retouren
Promise<void>
overgenomen van ReadableStream.pipeTo
tee()
function tee(): [ReadableStream<T>, ReadableStream<T>]
Retouren
[ReadableStream<T>, ReadableStream<T>]
overgenomen van ReadableStream.tee
[asyncIterator]()
function [asyncIterator](): AsyncIterator<T, any, undefined>
Retouren
AsyncIterator<T, any, undefined>
overgenomen van AsyncIterable.__@asyncIterator@374
Azure SDK for JavaScript