Module

std/node/readline.ts>Interface#emit

Deno standard library
Go to Latest
method Interface.prototype.emit
import { Interface } from "https://dotland.deno.dev/std@0.177.0/node/readline.ts";

Parameters

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

Returns

boolean

Parameters

event: "close"

Returns

boolean

Parameters

event: "line"
input: string

Returns

boolean

Parameters

event: "pause"

Returns

boolean

Parameters

event: "resume"

Returns

boolean

Parameters

event: "SIGCONT"

Returns

boolean

Parameters

event: "SIGINT"

Returns

boolean

Parameters

event: "SIGTSTP"

Returns

boolean

Parameters

event: "history"
history: string[]

Returns

boolean