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

Reference / @getenginex/sdk/realtime / RealtimeMeta

RealtimeMeta ​

Metadata of a message delivered by Realtime.subscribe.

Properties ​

kind ​

kind: "snapshot" | "delta" | "event"

'event' on a plain message (the gateway's production mode). In sequenced mode: 'snapshot' for the complete state (replace the local one) and 'delta' for an in-order update.


seq? ​

optional seq?: number

Topic sequence number, only in sequenced mode.


topic ​

topic: string

Full topic that received the message, e.g. 'market:m-1'.