MCPcopy
hub / github.com/CodebuffAI/codebuff / on

Function on

cli/src/__tests__/release/proxy-http-get.test.ts:48–51  ·  view source on GitHub ↗
(event: string, listener: (...args: any[]) => void)

Source from the content-addressed store, hash-verified

46
47 return {
48 on(event: string, listener: (...args: any[]) => void) {
49 emitter.on(event, listener)
50 return this
51 },
52 setTimeout() {
53 recorder.timeoutCalls += 1
54 return this

Callers

nothing calls this directly

Calls 1

onMethod · 0.65

Tested by

no test coverage detected