GitHub

tx_deferred

API reference for tx_deferred.

TxDeferred[A, E]: a transactional one-shot value (Effect's TxDeferred).

It holds None until it is completed with a Result, after which every wait succeeds with the value or fails with the error. Completing it inside a transaction is visible to that transaction at once, and to other fibers when the transaction commits.

Classes