EventImpl
- Value Params
- isDynamicWithStaticDeps
If this is None, the event is static. Else, it is dynamic with the set of static dependencies
Document{}
Propagates the event only when except does not fire.
Propagates the event only when except does not fire.
- Inherited from
- Event
Merge the event with the other, if both fire simultaneously.
Merge the event with the other, if both fire simultaneously.
- Inherited from
- Event
Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for value.
Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for value.
- See also
value
- Inherited from
- MacroAccess
Collects the results from a partial function
Collects the results from a partial function
- Inherited from
- EventCompat
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).
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).
- Inherited from
- Event
Drop the event parameter; equivalent to map((_: Any) => ())
Drop the event parameter; equivalent to map((_: Any) => ())
- Inherited from
- Event
Filters the event, only propagating the value when the filter is true.
Filters the event, only propagating the value when the filter is true.
- Inherited from
- EventCompat
Flattens the inner value.
Flattens the inner value.
- Inherited from
- Event
Folds events with a given operation to create a Signal.
Folds events with a given operation to create a Signal.
- Inherited from
- EventCompat
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
- Inherited from
- Event
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 which holds the last n events in a list. At the beginning the list increases in size up to when n values are available
- Inherited from
- Event
returns a signal holding the latest value of the event.
returns a signal holding the latest value of the event.
- Inherited from
- Event
returns a signal holding the latest value of the event.
returns a signal holding the latest value of the event.
- Value Params
- init
initial value of the returned signal
- Inherited from
- Event
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
- Inherited from
- Event
collects events resulting in a variable holding a list of all values.
collects events resulting in a variable holding a list of all values.
- Inherited from
- Event
Add an observer.
Add an observer.
- Returns
the resulting rescala.operator.Observing.Observe can be used to remove the observer.
- Inherited from
- Event
reduces events with a given reduce function to create a Signal
reduces events with a given reduce function to create a Signal
- Inherited from
- Event
Switch back and forth between two signals on occurrence of event e
Switch back and forth between two signals on occurrence of event e
- Inherited from
- Event
Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for rescala.macros.MacroAccess.apply.
Makes the enclosing reactive expression depend on the current value of the reactive. Is an alias for rescala.macros.MacroAccess.apply.
- See also
apply
- Inherited from
- MacroAccess
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.
- See also
and
- Inherited from
- Event
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.
- Inherited from
- Event
Events disjunction. Propagates the values if any of the events fires. Only propagates the left event if both fire.
Events disjunction. Propagates the values if any of the events fires. Only propagates the left event if both fire.
- Inherited from
- Event
Type members
Value members
Concrete methods
Inherited methods
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
- Inherited from
- Event