MCPcopy Create free account
hub / github.com/TanStack/devtools / on

Method on

packages/event-bus-client/src/noop.ts:51–59  ·  view source on GitHub ↗
(
    _eventSuffix: TEvent,
    _cb: (event: TanStackDevtoolsEvent<TEvent, TEventMap[TEvent]>) => void,
    _options?: {
      withEventTarget?: boolean
    },
  )

Source from the content-addressed store, hash-verified

49 ): void {}
50
51 on<TEvent extends keyof TEventMap & string>(
52 _eventSuffix: TEvent,
53 _cb: (event: TanStackDevtoolsEvent<TEvent, TEventMap[TEvent]>) => void,
54 _options?: {
55 withEventTarget?: boolean
56 },
57 ) {
58 return () => {}
59 }
60
61 onAll(_cb: (event: TanStackDevtoolsEvent<string, any>) => void) {
62 return () => {}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected