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

track

abstract fun track(): Pair<Vault<ContractState>, Observable<Update>>

Atomically get the current vault 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.