net.corda.node.utilities / bufferUntilDatabaseCommit

# bufferUntilDatabaseCommit

`fun <T : Any> <ERROR CLASS><T>.bufferUntilDatabaseCommit(): <ERROR CLASS><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.