Snapshot

data class Snapshot(val nodes: Map<NodeId, NodeInfo>) : NodeChange(source)

All known nodes at subscription time.

Emitted exactly once to each new subscriber (never again on the same subscription), before any live delta. Implemented via single-replay under the actor; subsequent Added, Updated, and Removed are guaranteed to apply on top of this snapshot in causal order.

Late subscribers see this snapshot instead of being stranded without context.

Constructors

Link copied to clipboard
constructor(nodes: Map<NodeId, NodeInfo>)

Properties

Link copied to clipboard
val nodes: Map<NodeId, NodeInfo>