Uses of Class
com.machinezoo.hookless.ReactiveValue
-
Packages that use ReactiveValue Package Description com.machinezoo.hookless Reactive primitives and core reactive classes. -
-
Uses of ReactiveValue in com.machinezoo.hookless
Methods in com.machinezoo.hookless that return ReactiveValue Modifier and Type Method Description static <T> ReactiveValue<T>
ReactiveValue. capture(Supplier<T> supplier)
Captures implicit reactive output of providedSupplier
and returns it encapsulated in newReactiveValue
.ReactiveValue<?>
ReactiveFreezes. get(Object key)
ReactiveValue<?>
ReactivePins. get(Object key)
ReactiveValue<T>
ReactiveStateMachine. output()
ReactiveValue<T>
ReactiveVariable. value()
Reads the currentReactiveValue
from thisReactiveVariable
and sets up reactive dependency.Methods in com.machinezoo.hookless with parameters of type ReactiveValue Modifier and Type Method Description ReactiveWorker<T>
ReactiveWorker. 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 ReactiveValue Constructor Description ReactiveVariable(ReactiveValue<T> value)
Creates new instance holding specifiedReactiveValue
.
-