Convenience method to send a value to set
similarly to an assignment operator.
Convenience method to send a value to set
similarly to an assignment operator.
the value to apply
Fires the value to all attached listeners.
Convenience method to pre-evaluate the value instead of as an anonymous function.
Convenience method to pre-evaluate the value instead of as an anonymous function.
the value to be set
Convenience method to wrap this Var
into a Val
.
Convenience method to wrap this Var
into a Val
.
Convenience method to get the current value.
Convenience method to set the current value like a variable.
Var, as the name suggests, is very similar to a Scala
var
. The value is defined during instantiation, but may be modified later. The value may be a static value, or may be a derived value depending on multipleObservables
. IfObservables
make up the value they will be monitored and events fired on thisObservable
as the value changes.the type of value this channel receives