ComputedMap<K, V>.fromChangeStream constructor

ComputedMap<K, V>.fromChangeStream(
  1. Computed<ChangeEvent<K, V>> stream
)

Constructs a ComputedMap that tracks stream. Initialized to the empty map.

Implementation

factory ComputedMap.fromChangeStream(Computed<ChangeEvent<K, V>> stream) =>
    ChangeStreamComputedMap(stream);