SyncStream<T>.fromVStream constructor

SyncStream<T>.fromVStream(
  1. ValueStream<T> source, [
  2. Consumer<T>? onChange,
  3. String? debugName
])

Implementation

SyncStream.fromVStream(ValueStream<T> source, [Consumer<T>? onChange, String? debugName])
    : this._(debugName: debugName, onChange: onChange, current: source.get(), source: source.after);