MCPcopy Create free account
hub / github.com/WarFrontIO/client / register

Method register

src/event/EventHandlerRegistry.ts:13–15  ·  view source on GitHub ↗

* Registers a listener to receive events. * Note: you most likely have to bind the listener to the correct context or specify "this: void" in the listener. * @param listener The listener to register.

(listener: (this: void, ...args: T) => void)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected