Uses of Class
com.machinezoo.hookless.ReactiveValue
Packages that use ReactiveValue
-
Uses of ReactiveValue in com.machinezoo.hookless
Methods in com.machinezoo.hookless that return ReactiveValueModifier 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.Methods in com.machinezoo.hookless with parameters of type ReactiveValueModifier 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.Constructors in com.machinezoo.hookless with parameters of type ReactiveValueModifierConstructorDescriptionReactiveVariable
(ReactiveValue<T> value) Creates new instance holding specifiedReactiveValue
.