1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-15 03:48:02 -05:00
denoland-deno/ext/node/polyfills/stream.ts

56 lines
1 KiB
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// compose, destroy and isDisturbed are experimental APIs without
// typings. They can be exposed once they are released as stable in Node
// @deno-types="./_stream.d.ts"
import {
_isArrayBufferView,
_isUint8Array,
_uint8ArrayToBuffer,
addAbortSignal,
compose,
destroy,
Duplex,
finished,
isDestroyed,
isDisturbed,
isErrored,
isReadable,
isWritable,
PassThrough,
pipeline,
Readable,
Stream,
Transform,
Writable,
} from "ext:deno_node/_stream.mjs";
import {
getDefaultHighWaterMark,
setDefaultHighWaterMark,
} from "ext:deno_node/internal/streams/state.mjs";
export {
_isArrayBufferView,
_isUint8Array,
_uint8ArrayToBuffer,
addAbortSignal,
compose,
destroy,
Duplex,
finished,
getDefaultHighWaterMark,
isDestroyed,
isDisturbed,
isErrored,
isReadable,
isWritable,
PassThrough,
pipeline,
Readable,
setDefaultHighWaterMark,
Stream,
Transform,
Writable,
};
export default Stream;