corda / net.corda.node.services.vault / NodeVaultService / track

track

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

Overrides VaultService.track

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.