Skip to main content
internal.finished.__promisify__ - node__stream.d.ts - Node documentation
function internal.finished.__promisify__

Usage in Deno

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

Parameters

stream:
ReadableStream
| WritableStream
| ReadWriteStream
optional
options: FinishedOptions

Return Type

Promise<void>