API reference / @chanx-js/client / core / TopicSnapshot
Interface: TopicSnapshot<Ref>
Defined in: packages/client/src/core/controller.ts:466
Extended by
Type Parameters
| Type Parameter | Default type |
|---|---|
Ref extends TopicRef | TopicRef |
Properties
lastMessage
ts
lastMessage: TopicMessage<Ref> | null;Defined in: packages/client/src/core/controller.ts:470
messages
ts
messages: TopicMessage<Ref>[];Defined in: packages/client/src/core/controller.ts:471
status
ts
status: SocketStatus;Defined in: packages/client/src/core/controller.ts:467
subscribed
ts
subscribed: boolean;Defined in: packages/client/src/core/controller.ts:469
Whether the server has confirmed the subscription.