asFlow
A Flow of events that can be used to reconstitute the current and future state of the FlowMap.
A predicate can be provided to filter the contents of the map. Upsert will have a null Upsert.oldValue if there was an underlying value that did not previously match, but now does. A Removed will be sent if an entry used to match, but no longer does.
Events can be conflated with conflateKeys.
Note: This method is useful when individual entry tracking or filtering is required. However, for maps with a large initial state, it has higher overhead because it emits an individual Upsert event for every existing entry before emitting Populated. If you only need the current map state and subsequent updates, consider using asFlowWithState for better performance.