Skip to main content
WriteStream.prototype.once - node__tty.d.ts - Node documentation
method WriteStream.prototype.once

Usage in Deno

```typescript import { WriteStream } from "node:node__tty.d.ts"; ```
WriteStream.prototype.once(
event: string,
listener: (...args: any[]) => void,
): this

Parameters

event: string
listener: (...args: any[]) => void

Return Type

this
WriteStream.prototype.once(
event: "resize",
listener: () => void,
): this

Parameters

event: "resize"
listener: () => void

Return Type

this