MCPcopy Create free account
hub / github.com/MemTensor/MemOS / on

Function on

apps/memos-local-openclaw/tests/plugin-impl-access.test.ts:43–45  ·  view source on GitHub ↗
(eventName: string, handler: Function)

Source from the content-addressed store, hash-verified

41 service = def;
42 },
43 on(eventName: string, handler: Function) {
44 events.set(eventName, handler);
45 },
46 } as any;
47
48 plugin.register(api);

Callers

nothing calls this directly

Calls 1

setMethod · 0.65

Tested by

no test coverage detected