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

Concise view

Value members

Abstract methods

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

Attributes

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.

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