Skip to main content
internal.finished.__promisify__ - stream - Node documentation
function internal.finished.__promisify__

Usage in Deno

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

Parameters

stream:
ReadableStream
| WritableStream
| ReadWriteStream
optional
options: FinishedOptions

Return Type

Promise<void>