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

rawUpdates

abstract val rawUpdates: Observable<Update<ContractState>>

Prefer the use of updates unless you know why you want to use this instead.

Get a synchronous Observable of updates. When observations are pushed to the Observer, the Vault will already incorporate the update, and the database transaction associated with the update will still be open and current. If for some reason the processing crosses outside of the database transaction (for example, the update is pushed outside the current JVM or across to another Thread, which is executing in a different database transaction), then the Vault may not incorporate the update due to racing with committing the current database transaction.