RT

trait RT extends TxnLike

The RT trait for real-time audio coupled transactions is declared without representation type parameter in order to keep the real-time sound synthesis API clutter free. The sound synthesis is always ephemeral, so does not need to know anything about the underlying system. What the process transaction provides is a package private addMessage method for staging OSC messages which are flushed at the end of a successful transaction.

Companion
object
trait TxnLike
class Object
trait Matchable
class Any
trait Txn[T]
class AnyTxn
trait Txn[T]
trait Txn
trait TxnFullImpl[T]
trait RTImpl

Value members

Abstract methods

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

Or zero if not scheduled.

Or zero if not scheduled.

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