AuralContext

trait AuralContext[T <: Txn[T]] extends AuxContext[T]
Companion
object
trait AuxContext[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def acquire[A <: Disposable[T]](obj: Obj[T])(init: => A)(tx: T): A
def get[A](obj: Obj[T])(tx: T): Option[A]
def release(obj: Obj[T])(tx: T): Unit
def server: Server

Inherited methods

def getAux[A](id: Ident[T])(tx: T): Option[A]
Inherited from
AuxContext
def observeAux[A](id: Ident[T])(fun: T => Update[T, A] => Unit)(tx: T): Disposable[T]

Waits for the auxiliary object to appear. If the object appears the function is applied, otherwise nothing happens.

Waits for the auxiliary object to appear. If the object appears the function is applied, otherwise nothing happens.

Inherited from
AuxContext
def putAux[A](id: Ident[T], value: A)(tx: T): Unit
Inherited from
AuxContext
def removeAux(id: Ident[T])(tx: T): Unit
Inherited from
AuxContext

Implicits

Implicits

implicit val universe: Universe[T]