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

Method once

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

Source from the content-addressed store, hash-verified

36 }
37
38 once(ev: string, fn: (...args: any[]) => void) {
39 this.emitter.once(ev, fn);
40 }
41
42 emit(ev: string, data: any) {
43 if (!this.id) {

Callers 14

effectFunction · 0.80
mainFunction · 0.80
updater.tsFile · 0.80
readFunction · 0.80
DuplexFunction · 0.80
readSSHPrivateFunction · 0.80
writeFunction · 0.80
processMethod · 0.80
createExtractorMethod · 0.80
onuncorkFunction · 0.80
yarn-standalone.jsFile · 0.80
endWritableFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected