Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/tui/mod.ts>EventEmitter#emit

🦕 Deno module for creating Terminal User Interfaces
Go to Latest
method EventEmitter.prototype.emit
Re-export
import { EventEmitter } from "https://deno.land/x/tui@2.0.0/mod.ts";

Emit specific type, after emitting all listeners associated with that event type will run with given arguments

Type Parameters

Type extends keyof EventMap

Parameters

type: Type
...args: EventMap[Type]["args"]