corda / net.corda.node.utilities / rx.Observer / bufferUntilDatabaseCommit

# bufferUntilDatabaseCommit

`fun <T : Any> Observer<T>.bufferUntilDatabaseCommit(): Observer<T>`

Buffer observations until after the current database transaction has been closed. Observations are never dropped, simply delayed.

Primarily for use by component authors to publish observations during database transactions without racing against closing the database transaction.

For examples, see the call hierarchy of this function.