reactives.extra.lenses
Members list
Type members
Classlikes
A simple lens for addition
A simple lens for addition
Value parameters
- k
-
The summand
Attributes
- Supertypes
The base trait for all bijective lenses
The base trait for all bijective lenses
Type parameters
- M
-
The type of the model
- V
-
The type of the view
Attributes
- Supertypes
- Known subtypes
LVars serve as the basis for reactive lenses. To create the root of a new LVar cluster, use the apply() function of the LVar object. Then, connect additional LVars via Lenses using the applyLens() function of an existing LVar.
LVars serve as the basis for reactive lenses. To create the root of a new LVar cluster, use the apply() function of the LVar object. Then, connect additional LVars via Lenses using the applyLens() function of an existing LVar.
Value parameters
- events
-
Incoming events indicating a change to the LVar cluster
- state
-
The state of the LVar
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
The base type for all lenses. If possible, use BijectiveLens instead as it provides more performance and additional functionality
The base type for all lenses. If possible, use BijectiveLens instead as it provides more performance and additional functionality
Type parameters
- M
-
the type of the model
- V
-
the type of the view
Attributes
- Companion
- object
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
A simple lens for multiplication
A simple lens for multiplication
Value parameters
- k
-
The summand
Attributes
- Supertypes
A simple lens with returns the identity
A simple lens with returns the identity
Attributes
- Supertypes
TODO: The SignalLens requires a reactive read without evaluating dependencies. As this is currently not supported by REScala, it uses .now instead!
TODO: The SignalLens requires a reactive read without evaluating dependencies. As this is currently not supported by REScala, it uses .now instead!
Value parameters
- signalOfLens
-
A Signal of a Lens
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any