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

Usage in Deno

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

Parameters

stream:
ReadableStream
| WritableStream
| ReadWriteStream
optional
options: FinishedOptions

Return Type

Promise<void>