BloomKeyedIterableElements<E> extension type

A dedicated proxy wrapper for Bloom<Iterable<E>> to perform keyed element-wise transformations safely and lazily.

System Architectural Flow (Keyed Dynamic Divergence)

[Source Bloom<Iterable<E>>]
       │ (Push-Dirty on list mutation)
       ▼
[Keyed Divergence Engine]
       ├─► Matches existing Key ──► Reuses existing mapped instance (preserves state)
       ├─► New Key Detected      ──► Invokes convert() & caches mapped instance
       └─► Removed Key           ──► Releases obsolete cached instance
       │
       ▼
[Output Bloom<List<T>>] (Composite list of cached and newly mapped instances)
on

Properties

bloom → Bloom<Iterable<E>>
Exposes the underlying Bloom node.
no setter

Methods

map<K, T>({required K key(E data), required T convert(E data), void update(T cached, E data)?}) → Bloom<List<T>>
Maps an Iterable to a List of objects while safely caching the mapped objects by unique keys.