Skip to content
Source
Sign inSign up
TanStack/pacer
Open History to see the last commit

PacerDevtoolsWirePayload.md

48 lines1012 Bytes

1---
2id: PacerDevtoolsWirePayload
3title: PacerDevtoolsWirePayload
4---
5​
6Defined in: [event-client.ts:10](https://github.com/TanStack/pacer/blob/main/packages/pacer/src/event-client.ts#L10)
7​
8Payload on the devtools event bus must be JSON-serializable: `ClientEventBus`
9always stringifies events for `emitToServer` and `BroadcastChannel`, so live
10util instances (with reactive `store` graphs) cannot be sent as-is.
11​
12Live instances are kept in pacerDevtoolsInstancesByKey for the panel.
13​
14## Properties
15​
16### key
17​
18```ts
19key: string;
20```
21​
22Defined in: [event-client.ts:11](https://github.com/TanStack/pacer/blob/main/packages/pacer/src/event-client.ts#L11)
23​
24***
25​
26### options
27​
28```ts
29options: unknown;
30```
31​
32Defined in: [event-client.ts:13](https://github.com/TanStack/pacer/blob/main/packages/pacer/src/event-client.ts#L13)
33​
34***
35​
36### store
37​
38```ts
39store: object;
40```
41​
42Defined in: [event-client.ts:12](https://github.com/TanStack/pacer/blob/main/packages/pacer/src/event-client.ts#L12)
43​
44#### state
45​
46```ts
47state: unknown;
48```