Signal<T> constructor

Signal<T>(
  1. T initial
)

Implementation

Signal(T initial)
    : _value = initial,
      super(initial) {
  /// Sure that the signals are collected when the instance is created.
  if (Reactter._instancesBuilding) {
    Reactter._signalsRecollected.add(this);
  }
}