RTImpl

sealed
trait RTImpl extends RT
Companion
object
trait RT
trait TxnLike
class Object
trait Matchable
class Any

Value members

Concrete methods

final
def addMessage(resource: Resource, m: Message, dependencies: Seq[Resource]): Unit

Inherited methods

def afterCommit(code: => Unit): Unit

Registers a thunk to be executed after the transaction successfully committed.

Registers a thunk to be executed after the transaction successfully committed.

Inherited from
TxnLike
def peer: InTxn

Every transaction has a plain Scala-STM transaction as a peer. This comes handy for setting up custom things like TxnLocal, TMap, or calling into the hooks of concurrent.stm.Txn. It is also needed when re-wrapping the transaction of one system into another.

Every transaction has a plain Scala-STM transaction as a peer. This comes handy for setting up custom things like TxnLocal, TMap, or calling into the hooks of concurrent.stm.Txn. It is also needed when re-wrapping the transaction of one system into another.

Inherited from
TxnLike

Or zero if not scheduled.

Or zero if not scheduled.

Inherited from
RT