MCPcopy
hub / github.com/web-infra-dev/midscene / on

Function on

packages/playground/tests/unit/server-mjpeg-stream.test.ts:50–53  ·  view source on GitHub ↗
(event: string, listener: () => void)

Source from the content-addressed store, hash-verified

48 query: {},
49 listeners,
50 on(event: string, listener: () => void) {
51 listeners.set(event, listener);
52 return this;
53 },
54 };
55}
56

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected