Universe

trait Universe[T <: Txn[T]] extends Disposable[T] with Observable[T, Update[T]]
Companion
object
trait Observable[T, Update[T]]
trait Disposable[T]
class Object
trait Matchable
class Any

Value members

Abstract methods

def auralContext(t: T): Option[AuralContext[T]]
def mkChild(newAuralSystem: AuralSystem, newScheduler: Scheduler[T])(tx: T): Universe[T]

Creates a new derived universe with a new aural system and a fresh scheduler.

Creates a new derived universe with a new aural system and a fresh scheduler.

def mkRunner(obj: Obj[T])(tx: T): Option[Runner[T]]
def runners(tx: T): Iterator[Runner[T]]

Inherited methods

def dispose(tx: T): Unit
Inherited from
Disposable
def react(fun: T => Update[T] => Unit)(tx: T): Disposable[T]

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Registers a live observer with this observable. The method is called with the observing function which receives the observable's update message of type A, and the method generates an opaque Disposable instance, which may be used to remove the observer eventually (through the dispose method).

Inherited from
Observable

Implicits

Implicits

implicit def cursor: Cursor[T]
implicit def genContext: GenContext[T]
implicit val scheduler: Scheduler[T]
implicit def workspace: Workspace[T]