internal.finished.__promisify__ - Node documentation
function internal.finished.__promisify__

Usage in Deno

import { internal } from "node:stream";
const { __promisify__ } = internal.finished;
__promisify__(
stream:
ReadableStream
| WritableStream
| ReadWriteStream
,
options?: FinishedOptions,
): Promise<void>

Parameters

stream:
ReadableStream
| WritableStream
| ReadWriteStream
optional
options: FinishedOptions

Return Type

Promise<void>