Skip to main content
finished - stream/promises - Node documentation
function finished

Usage in Deno

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

Parameters

stream:
ReadableStream
| WritableStream
| ReadWriteStream
optional
options: FinishedOptions

Return Type

Promise<void>