If this is None, the event is static. Else, it is dynamic with the set of static dependencies
Filters the event, only propagating the value when the filter is true.
Filters the event, only propagating the value when the filter is true.
filter
Adds an observer.
Adds an observer.
observe
Propagates the event only when except does not fire.
Propagates the event only when except does not fire.
Merge the event with the other, if both fire simultaneously.
Merge the event with the other, if both fire simultaneously.
Makes the enclosing reactive expression depend on the current value of the reactive.
Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for value.
value
Collects the results from a partial function
Collects the results from a partial function
Counts the occurrences of the event.
Counts the occurrences of the event. The argument of the event is discarded. Always starts from 0 when the count is created (no matter how often the event has activated in the past).
Drop the event parameter; equivalent to map((_: Any) => ())
Drop the event parameter; equivalent to map((_: Any) => ())
Filters the event, only propagating the value when the filter is true.
Filters the event, only propagating the value when the filter is true.
Flattens the inner value.
Flattens the inner value.
Folds events with a given operation to create a Signal.
Folds events with a given operation to create a Signal.
the name of the reactive, useful for debugging as it often contains positional information
Applies a function on the current value of the signal every time the event occurs, starting with the init value before the first event occurrence
Applies a function on the current value of the signal every time the event occurs, starting with the init value before the first event occurrence
Returns a signal which holds the last n events in a list.
Returns a signal which holds the last n events in a list. At the beginning the list increases in size up to when n values are available
returns a signal holding the latest value of the event.
returns a signal holding the latest value of the event.
returns a signal holding the latest value of the event.
returns a signal holding the latest value of the event.
initial value of the returned signal
Holds the latest value of an event as an Option, None before the first event occured
Holds the latest value of an event as an Option, None before the first event occured
collects events resulting in a variable holding a list of all values.
collects events resulting in a variable holding a list of all values.
Transform the event.
Transform the event.
Add an observer.
Add an observer.
the resulting rescala.operator.ObserveBundle.Observe can be used to remove the observer.
Interprets the pulse of the event by converting to an option
Uses a partial function onFailure
to recover an error carried by the event into a value when returning Some(value),
or filters the error when returning None
Uses a partial function onFailure
to recover an error carried by the event into a value when returning Some(value),
or filters the error when returning None
reduces events with a given reduce function to create a Signal
reduces events with a given reduce function to create a Signal
called if any of the dependencies (rescala.core.Core.ReSources) changed in the current update turn, after all (known) dependencies are updated
called if any of the dependencies (rescala.core.Core.ReSources) changed in the current update turn, after all (known) dependencies are updated
the state passed by the scheduler
Switch back and forth between two signals on occurrence of event e
Switch back and forth between two signals on occurrence of event e
Makes the enclosing reactive expression depend on the current value of the reactive.
Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for rescala.macros.MacroAccess.apply.
apply
Merge the event with the other into a tuple, if both fire simultaneously.
Merge the event with the other into a tuple, if both fire simultaneously.
and
Merge the event with the other into a tuple, even if only one of them fired.
Merge the event with the other into a tuple, even if only one of them fired.
Events disjunction.
Events disjunction. Propagates the values if any of the events fires. Only propagates the left event if both fire.