ComputedMap<K, V>.fromChangeStreamWithPrev constructor

ComputedMap<K, V>.fromChangeStreamWithPrev(
  1. ChangeEvent<K, V> f(
    1. IMap<K, V>?
    )
)

Like ComputedMap.fromChangeStream, but lets the change stream computation depend on the snapshot of the map.

Implementation

factory ComputedMap.fromChangeStreamWithPrev(
        ChangeEvent<K, V> Function(IMap<K, V>?) f) =>
    ChangeStreamWithPrevComputedMap(f);