MCPcopy Create free account
hub / github.com/msgbyte/tailchat / emit

Function emit

client/shared/event/index.ts:86–91  ·  view source on GitHub ↗
(
    eventName: T,
    ...args: Parameters<SharedEventMap[T]>
  )

Source from the content-addressed store, hash-verified

84 bus.off(eventName, listener);
85 },
86 emit<T extends SharedEventType>(
87 eventName: T,
88 ...args: Parameters<SharedEventMap[T]>
89 ) {
90 bus.emit(eventName, ...args);
91 },
92};
93
94export function useSharedEventHandler<

Callers

nothing calls this directly

Calls 1

emitMethod · 0.65

Tested by

no test coverage detected