Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(node/stream/web): Adding support for ReadableStreamBYOBReader and ReadableStreamBYOBRequest #3204

Closed
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions node/stream/web.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ const _ByteLengthQueuingStrategy = ByteLengthQueuingStrategy,
_CountQueuingStrategy = CountQueuingStrategy,
_ReadableByteStreamController = ReadableByteStreamController,
_ReadableStream = ReadableStream,
_ReadableStreamBYOBReader = ReadableStreamBYOBReader,
_ReadableStreamBYOBRequest = ReadableStreamBYOBRequest,
_ReadableStreamDefaultController = ReadableStreamDefaultController,
_ReadableStreamDefaultReader = ReadableStreamDefaultReader,
_TextDecoderStream = TextDecoderStream,
Expand All @@ -18,6 +20,8 @@ export {
_CountQueuingStrategy as CountQueuingStrategy,
_ReadableByteStreamController as ReadableByteStreamController,
_ReadableStream as ReadableStream,
_ReadableStreamBYOBReader as ReadableStreamBYOBReader,
_ReadableStreamBYOBRequest as ReadableStreamBYOBRequest,
_ReadableStreamDefaultController as ReadableStreamDefaultController,
_ReadableStreamDefaultReader as ReadableStreamDefaultReader,
_TextDecoderStream as TextDecoderStream,
Expand All @@ -31,6 +35,8 @@ export {

export default {
ReadableStream,
ReadableStreamBYOBReader,
ReadableStreamBYOBRequest,
ReadableStreamDefaultReader,
ReadableByteStreamController,
ReadableStreamDefaultController,
Expand Down