MCPcopy
hub / github.com/vercel/hyper / on

Method on

lib/utils/rpc.ts:34–36  ·  view source on GitHub ↗
(ev: string, fn: (...args: any[]) => void)

Source from the content-addressed store, hash-verified

32 };
33
34 on(ev: string, fn: (...args: any[]) => void) {
35 this.emitter.on(ev, fn);
36 }
37
38 once(ev: string, fn: (...args: any[]) => void) {
39 this.emitter.once(ev, fn);

Callers 15

index.tsxFile · 0.80
subscribeFunction · 0.80
constructorMethod · 0.80
componentDidMountMethod · 0.80
mainFunction · 0.80
index.tsFile · 0.80
createWindowFunction · 0.80
_watchFunction · 0.80
notifyFunction · 0.80
initMethod · 0.80
constructorMethod · 0.80
initFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected