Class Signal<T>

java.lang.Object
org.jsignal.rx.Signal<T>
All Implemented Interfaces:
Consumer<T>, Supplier<T>, Acceptable<T>, Mutateable<T>, SkipMemo
Direct Known Subclasses:
AtomicSignal

public class Signal<T> extends Object implements Acceptable<T>, Supplier<T>, Mutateable<T>, SkipMemo
The core reactive primitive. Wraps another object and adds the ability for access and mutation of the value to be automatically tracked.
  • Field Details

    • value

      protected T value
    • thread

      protected final Thread thread
    • equals

      protected final Equals<T> equals
    • clone

      protected final Clone<T> clone
    • effects

      protected final Map<Integer,EffectRef> effects
  • Constructor Details

  • Method Details