mirror of
https://github.com/nodejs/node.git
synced 2024-12-01 07:53:06 +01:00
25e2f177cb
Experimental as part of the web streams implementation Signed-off-by: James M Snell <jasnell@gmail.com> PR-URL: https://github.com/nodejs/node/pull/39347 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
56 lines
1.2 KiB
JavaScript
56 lines
1.2 KiB
JavaScript
'use strict';
|
|
|
|
const {
|
|
emitExperimentalWarning,
|
|
} = require('internal/util');
|
|
|
|
emitExperimentalWarning('stream/web');
|
|
|
|
const {
|
|
TransformStream,
|
|
TransformStreamDefaultController,
|
|
} = require('internal/webstreams/transformstream');
|
|
|
|
const {
|
|
WritableStream,
|
|
WritableStreamDefaultController,
|
|
WritableStreamDefaultWriter,
|
|
} = require('internal/webstreams/writablestream');
|
|
|
|
const {
|
|
ReadableStream,
|
|
ReadableStreamDefaultReader,
|
|
ReadableStreamBYOBReader,
|
|
ReadableStreamBYOBRequest,
|
|
ReadableByteStreamController,
|
|
ReadableStreamDefaultController,
|
|
} = require('internal/webstreams/readablestream');
|
|
|
|
const {
|
|
ByteLengthQueuingStrategy,
|
|
CountQueuingStrategy,
|
|
} = require('internal/webstreams/queuingstrategies');
|
|
|
|
const {
|
|
TextEncoderStream,
|
|
TextDecoderStream,
|
|
} = require('internal/webstreams/encoding');
|
|
|
|
module.exports = {
|
|
ReadableStream,
|
|
ReadableStreamDefaultReader,
|
|
ReadableStreamBYOBReader,
|
|
ReadableStreamBYOBRequest,
|
|
ReadableByteStreamController,
|
|
ReadableStreamDefaultController,
|
|
TransformStream,
|
|
TransformStreamDefaultController,
|
|
WritableStream,
|
|
WritableStreamDefaultWriter,
|
|
WritableStreamDefaultController,
|
|
ByteLengthQueuingStrategy,
|
|
CountQueuingStrategy,
|
|
TextEncoderStream,
|
|
TextDecoderStream,
|
|
};
|