getSnapshotMsgId
Syntax
getSnapshotMsgId(engine)
Arguments
engine is a built-in streaming engine, i.e., the abstract table object return by functions such as createReactiveStateEngine.
Details
Get the message ID (msgId) of the last snapshot of the specified streaming engine
when resubscibing after an interruption of subscription. If snapshot is enabled,
during resubscription the parameter offset of function subscribeTable is set to
getSnapshotMsgId(engine)+1
. The streaming engine will load the
snapshot and start to subcribe from the next message after
getSnapshotMsgId(engine)
.