InitialChange

rescala.core.InitialChange
trait InitialChange[State[_]]

Encapsulates an action changing a single source.

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Abstract methods

def writeValue(base: source.Value, writeCallback: source.Value => Unit): Boolean

Value parameters

base

the current (old) value of the source.

writeCallback

callback to apply the new value, executed only if the action is approved by the source.

Attributes

Returns

the propagation status of the source (whether or not to reevaluate output reactives).

Abstract fields

val source: of[State]

The source to be changed.

The source to be changed.

Attributes