MCPcopy Create free account
hub / github.com/ThatOpen/engine_clay /

Class

packages/clay/src/utils/event.ts:10–10  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8 * the callback as an arrow function.
9 */
10export class Event<T> {
11 /**
12 * Add a callback to this event instance.
13 * @param handler - the callback to be added to this event.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected