Reference / @getenginex/sdk-react / 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 })).