Object containing utility functions for using pulses
Attributes
Members list
Type members
Inherited types
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Mirror
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
Value members
Concrete methods
Transforms the given pulse and an updated value into a pulse indicating a change from the pulse's value to the given updated value.
Transforms the given pulse and an updated value into a pulse indicating a change from the pulse's value to the given updated value.
Attributes
Transforms an optional value into a pulse. If the option doesn't contain a value, an empty pulse indicating no change is returned. Otherwise, a pulse with the option's value set as updated value is returned.
Transforms an optional value into a pulse. If the option doesn't contain a value, an empty pulse indicating no change is returned. Otherwise, a pulse with the option's value set as updated value is returned.
Type parameters
- P
-
Value type of both option and returned pulse
Value parameters
- opt
-
Option to transform into a pulse
Attributes
- Returns
-
Pulse with the option's value set as updated value, or an empty pulse if the option doesn't have a value.
Transforms a Try into a Value or Exceptional Pulse
Transforms a Try into a Value or Exceptional Pulse
Attributes
Concrete fields
the pulse representing an empty signal
the pulse representing an empty signal