Logo Mibo

GroupByMapNode<'K, 'V, 'G> Type

Groups the entries of an adaptive map by a computed key (the node behind AMap.groupBy). The output entries are live adaptive maps (GroupMapChildNode<'K,'V>); group-content changes reach the consumers through the children (their deltas and versions), so the output map's version moves only for group add/remove. A group disappears when it becomes empty (removed at the next drain); a key whose value changes group is moved between children.

Constructors

Constructor Description

GroupByMapNode(source, keyOf)

Full Usage: GroupByMapNode(source, keyOf)

Parameters:
Returns: GroupByMapNode<'K, 'V, 'G>
source : IAdaptiveMap<'K, 'V>
keyOf : 'K -> 'V -> 'G
Returns: GroupByMapNode<'K, 'V, 'G>

Type something to start searching.