MCPcopy Create free account
hub / github.com/coder/ghostty-web / fire

Method fire

lib/types.ts:740–744  ·  view source on GitHub ↗

Emit an event to all listeners

(data: T)

Source from the content-addressed store, hash-verified

738
739 /** Emit an event to all listeners */
740 public fire(data: T): void {
741 for (const listener of this.listeners) {
742 listener(data);
743 }
744 }
745
746 /** Remove all listeners */
747 public dispose(): void {

Callers 15

openMethod · 0.45
writeInternalMethod · 0.45
pasteMethod · 0.45
inputMethod · 0.45
resizeMethod · 0.45
scrollLinesMethod · 0.45
scrollToTopMethod · 0.45
scrollToBottomMethod · 0.45
scrollToLineMethod · 0.45
smoothScrollToMethod · 0.45
TerminalClass · 0.45
loopMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected