ValGroup
Attributes
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
Group multiple Vals together
Inherited methods
Group multiple Vals together
Group multiple Statefuls together
Group multiple Statefuls together
Convenience wrapper around get
Convenience method to create a Reaction to attach to this Reactive
Convenience method to create a Reaction to attach to this Reactive
Value parameters
- f
-
the function reaction
- priority
-
the priority in comparison to other reactions (Defaults to Priority.Normal)
Attributes
- Returns
-
created Reaction[T]
- Inherited from:
- Reactive
Convenience functionality to attach a Reaction and immediately fire the current state on the Reaction.
Convenience functionality to attach a Reaction and immediately fire the current state on the Reaction.
Value parameters
- f
-
the function reaction
- priority
-
the priority in comparison to other reactions (Defaults to Priority.Normal)
Attributes
- Returns
-
Reaction[T]
- Inherited from:
- Stateful
Convenience method to create a Reaction to monitor changes to this Reactive
Convenience method to create a Reaction to monitor changes to this Reactive
Value parameters
- f
-
the function reaction to receive changes
- priority
-
the priority in comparison to other reactions (Defaults to Priority.Normal)
Attributes
- Returns
-
created Reaction[T]
- Inherited from:
- Reactive
Convenience method to create a Future[T]
that will complete upon the next reaction that meets to supplied condition.
Convenience method to create a Future[T]
that will complete upon the next reaction that meets to supplied condition.
Value parameters
- condition
-
optional condition that must be true for this to fire (Defaults to accept anything)
Attributes
- Returns
-
Future[T]
- Inherited from:
- Reactive
Maps this Val to another type.
Convenience method to create a Reaction to monitor changes to this Reactive when you don't care about the actual value.
Convenience method to create a Reaction to monitor changes to this Reactive when you don't care about the actual value.
Value parameters
- f
-
the function reaction to invoke in reaction to a value received
- priority
-
the priority in comparison to other reactions (Defaults to Priority.Normal)
Attributes
- Returns
-
created Reaction[T]
- Inherited from:
- Reactive
Convenience method to create a Reaction to monitor a single reaction based on an optional condition.
Convenience method to create a Reaction to monitor a single reaction based on an optional condition.
Value parameters
- condition
-
optional condition that must be true for this to fire (Defaults to accept anything)
- f
-
the function reaction
- priority
-
the priority in comparison to other reactions (Defaults to Priority.Normal)
Attributes
- Returns
-
created Reaction[T]
- Inherited from:
- Reactive
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Val
If the current thread is reacting to a value currently, status represents the status of the reaction. This can be set to ReactionStatus.Stop in order to stop propagation. This can also be achieved via stopPropagation().
If the current thread is reacting to a value currently, status represents the status of the reaction. This can be set to ReactionStatus.Stop in order to stop propagation. This can also be achieved via stopPropagation().
Attributes
- Inherited from:
- Reactive
Attributes
- Inherited from:
- Reactive
Shortcut functionality to call status = ReactionStatus.Stop