Uses of Class
com.machinezoo.hookless.ReactiveValue
-
Uses of ReactiveValue in com.machinezoo.hookless
Modifier and TypeMethodDescriptionstatic <T> ReactiveValue<T>
Captures implicit reactive output of providedSupplier
and returns it encapsulated in newReactiveValue
.ReactiveStateMachine.output()
ReactiveVariable.value()
Reads the currentReactiveValue
from thisReactiveVariable
and sets up reactive dependency.Modifier and TypeMethodDescriptionReactiveWorker.initial
(ReactiveValue<T> value) static ReactiveStateMachine<Void>
ReactiveStateMachine.run
(ReactiveValue<Void> initial, Runnable runnable) boolean
ReactiveValue.same
(ReactiveValue<?> other) Checks reference equality between twoReactiveValue
instances.void
ReactiveFreezes.set
(Object key, ReactiveValue<?> value) void
ReactivePins.set
(Object key, ReactiveValue<?> value) static <T> ReactiveStateMachine<T>
ReactiveStateMachine.supply
(ReactiveValue<T> initial, Supplier<T> supplier) void
ReactiveVariable.value
(ReactiveValue<T> value) Sets currentReactiveValue
of thisReactiveVariable
and notifies dependent reactive computations.ModifierConstructorDescriptionReactiveVariable
(ReactiveValue<T> value) Creates new instance holding specifiedReactiveValue
.