Skip to main content
WriteStream.prototype.emit - tty - Node documentation
method WriteStream.prototype.emit

Usage in Deno

import { WriteStream } from "node:tty";
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