corda / net.corda.core.node.services / NetworkMapCache / track

track

abstract fun track(): Pair<List<NodeInfo>, Observable<MapChange>>

Atomically get the current party nodes and a stream of updates. Note that the Observable buffers updates until the first subscriber is registered so as to avoid racing with early updates.