MCPcopy Index your code
hub / github.com/triggerdotdev/trigger.dev / on

Method on

apps/webapp/app/v3/utils/zodPubSub.server.ts:15–15  ·  view source on GitHub ↗
(
    eventName: K,
    listener: (payload: z.infer<TMessageCatalog[K]>) => Promise<void>
  )

Source from the content-addressed store, hash-verified

13
14export interface ZodSubscriber<TMessageCatalog extends ZodMessageCatalogSchema> {
15 on<K extends keyof TMessageCatalog>(
16 eventName: K,
17 listener: (payload: z.infer<TMessageCatalog[K]>) => Promise<void>
18 ): void;

Callers 15

constructorMethod · 0.65
server.tsFile · 0.65
loaderFunction · 0.65
constructorMethod · 0.65
constructorMethod · 0.65
onMethod · 0.65
initializeMethod · 0.65
initalizeWebSocketServerFunction · 0.65
subscribeToTraceMethod · 0.65
initalizeIoServerFunction · 0.65
makeProxiedRequestMethod · 0.65
constructorMethod · 0.65

Implementers 1

RedisZodSubscriberapps/webapp/app/v3/utils/zodPubSub.ser

Calls

no outgoing calls

Tested by

no test coverage detected