This version (v0.7) has not been published to npm yet.
Skip to content

Reference / @getenginex/sdk-vue / RealtimeSyncTopic

RealtimeSyncTopic ​

Extra topic of useRealtimeSync with the queries it feeds.

Properties ​

invalidate ​

invalidate: RealtimeInvalidation

Keys to invalidate on every message of the topic and on its onResync. Build them with the SDK's query factories (.queryKey), never by hand; use the function form for user keys.


topic ​

topic: Topic<unknown>

Topic to subscribe to (e.g. predictionsTopics.orderbook({ marketId })).