Reference / @getenginex/sdk-vue / RealtimeSyncOptions
RealtimeSyncOptions
Options of useRealtimeSync.
Properties
topics?
optionaltopics?:RealtimeSyncTopic[]
Extra topics (e.g. from products) with the explicit mapping to the queries they feed. Each message and each onResync of the topic invalidates exactly the keys in invalidate. The composable does not apply the message content to the cache: for that use useRealtime. Private topics are only subscribed with a user in the session.