default
Event and Signal represent different time-changing values, commonly referred to as reactives. Use Var to create signal sources and Evt to create event sources.
Events and signals can be created from other reactives by using combinators, signals additionally can be created using Signal expressions.
Attributes
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
default.type
Members list
Grouped members
update
Executes a transaction.
Executes a transaction.
Type parameters
- R
-
Result type of the admission function
Value parameters
- admissionPhase
-
An admission function that may reactives.operator.Evt.admit / reactives.operator.Var.admit arbitrary input changes that will be applied as an atomic transaction at the end.
- initialWrites
-
All inputs that might be changed by the transaction
Attributes
- Returns
-
Result of the admission function
- Example
-
transaction(a, b){ implicit at => a.set(5); b.set(1); at.now(a) }
Executes a transaction with WrapUpPhase.
Executes a transaction with WrapUpPhase.
Attributes
- See also
-
transaction