Rx<T> constructor

Rx<T>(
  1. T initalValue
)

Constructor

creates a new observable with an initial value

Implementation

Rx(T initalValue) {
  _value = initalValue;
}