java.lang.Object
com.machinezoo.hookless.ReactiveScope
Thread-local context for reactive computations that collects reactive dependencies.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidblock()booleanblocked()static ReactiveScopecurrent()com.machinezoo.closeablescope.CloseableScopeenter()<T> Tfreezes()voidfreezes(ReactiveFreezes freezes) static com.machinezoo.closeablescope.CloseableScopeignore()static com.machinezoo.closeablescope.CloseableScope<T> Tpins()voidpins(ReactivePins pins) toString()versions()voidwatch(ReactiveVariable<?> variable) voidwatch(ReactiveVariable<?> variable, long version)
-
Constructor Details
-
ReactiveScope
public ReactiveScope()
-
-
Method Details
-
current
-
enter
public com.machinezoo.closeablescope.CloseableScope enter() -
ignore
public static com.machinezoo.closeablescope.CloseableScope ignore() -
versions
-
watch
-
watch
-
blocked
public boolean blocked() -
block
public void block() -
nonblocking
public static com.machinezoo.closeablescope.CloseableScope nonblocking() -
freeze
-
freezes
-
freezes
-
pin
-
pins
-
pins
-
toString
-