T - The type of the computed value.@FunctionalInterface public static interface ComputeValueFromState.Function<T>
Ensure that this callback is thread-safe and does not close over any instances of objects that may cause problems with cloning, such as evaluators.
| Modifier and Type | Method and Description |
|---|---|
T |
invoke(ITimeBasedState state)
A callback to compute some value from a
ITimeBasedState. |
T invoke(ITimeBasedState state)
ITimeBasedState.
Ensure that this callback is thread-safe and does not close over any instances of objects that may cause problems with cloning, such as evaluators.
state - The state to compute values from.