- toDOMStream<T>(source, strategy?): ReadableStream<T>
-
Parameters
-
source: Iterable<T>
-
Optional
strategy: QueuingStrategy<T>
Returns ReadableStream<T>
- toDOMStream<T>(source, options): ReadableStream<Uint8Array>
-
Parameters
-
source: Iterable<T>
-
options: ReadableBYOBStreamOptions<Uint8Array>
Returns ReadableStream<Uint8Array>
- toDOMStream<T>(source, options): ReadableStream<Uint8Array>
-
Parameters
-
source: Iterable<T>
-
options: ReadableByteStreamOptions<Uint8Array>
Returns ReadableStream<Uint8Array>