PendingAtomicBlock

class PendingAtomicBlock[A](above: => A)

Instances of PendingAtomicBlock defer the execution of an atomic block until all of the alternatives can be gathered from the user. There is an implicit conversion in the stm package object from any type A to a PendingAtomicBlock[A], which will kick in if there is an attempt to call .orAtomic on a value.

Instances of PendingAtomicBlock defer the execution of an atomic block until all of the alternatives can be gathered from the user. There is an implicit conversion in the stm package object from any type A to a PendingAtomicBlock[A], which will kick in if there is an attempt to call .orAtomic on a value.

Authors

Nathan Bronson

class Object
trait Matchable
class Any

Value members

Concrete methods

def orAtomic[B >: A](below: InTxn => B)(mt: MaybeTxn): B

See atomic.oneOf.

See atomic.oneOf.