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

Usage in Deno

```typescript import { WriteStream } from "node:node__tty.d.ts"; ```
WriteStream.prototype.emit(
event: string | symbol,
...args: any[],
): boolean

Parameters

event: string | symbol
...args: any[]

Return Type

boolean
WriteStream.prototype.emit(event: "resize"): boolean

Parameters

event: "resize"

Return Type

boolean