Mutable

trait Mutable[T]

Mutable represents a reactive element that has mutable state

class Object
trait Matchable
class Any
class Channel[T]
class Trigger
class ChannelGroup[T]
class Dep[T, R]
class Var[T]
class VarGroup[T]

Value members

Abstract methods

def set(f: => T): Unit

Sets the function evaluation representing the new value for this mutable entity

Sets the function evaluation representing the new value for this mutable entity

Concrete methods

def !(future: Future[T])(implicit ec: ExecutionContext): Future[Unit]

Convenience functionality to assign the result of a future (upon completion) to this Channel

Convenience functionality to assign the result of a future (upon completion) to this Channel

def :=(f: => T): Unit

Convenience alternative to "set"

Convenience alternative to "set"

def @=(f: T): Unit

Convenience alternative to "static"

Convenience alternative to "static"

def static(f: T): Unit

Sets a static value representing the new value for this mutable entity

Sets a static value representing the new value for this mutable entity

def update(f: => T): Unit

Convenience alternative to "set"

Convenience alternative to "set"