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

Interface ClientEventBusConfig

packages/event-bus/src/client/client.ts:35–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33}
34
35export interface ClientEventBusConfig {
36 /**
37 * Optional flag to indicate if the devtools server event bus is available to connect to.
38 * This is used to determine if the devtools can connect to the server for real-time event streams.
39 */
40 connectToServerBus?: boolean
41
42 /**
43 * Optional flag to enable debug mode for the event bus.
44 */
45 debug?: boolean
46
47 /**
48 * Optional port to connect to the devtools server event bus.
49 * Defaults to 4206.
50 */
51 port?: number
52
53 /**
54 * Optional host to connect to the devtools server event bus.
55 * Defaults to 'localhost'.
56 */
57 host?: string
58
59 /**
60 * Optional protocol to use for connecting to the devtools server event bus.
61 * Defaults to 'http'. Set to 'https' when the dev server uses HTTPS.
62 */
63 protocol?: 'http' | 'https'
64}
65
66export class ClientEventBus {
67 #port: number

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected