Mutable

reactify.Mutable
trait Mutable[T]

Mutable represents a reactive element that has mutable state

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
class Channel[T]
class ChannelGroup[T]
class Trigger
class Dep[T, R]
class Var[T]
class VarGroup[T]
Show all

Members list

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

Attributes

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

Attributes

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

Convenience alternative to "set"

Convenience alternative to "set"

Attributes

def @=(f: T): Unit

Convenience alternative to "static"

Convenience alternative to "static"

Attributes

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

Attributes

def update(f: => T): Unit

Convenience alternative to "set"

Convenience alternative to "set"

Attributes