import { type RMapBase } from "https://deno.land/x/rimbu@1.0.2/collection-types/map-custom/index.ts";
const { Factory } = RMapBase;
Methods
Returns an immutable map of this type and context, containing the entries in the given sources
StreamSource
instances.
Returns a Reducer
that adds received tuples to an RMap and returns the RMap as a result. When a source
is given,
the reducer will first create an RMap from the source, and then add tuples to it.
Returns a Map containing all keys from this map and all the given sources
key-value stream sources,
and as values tuples of all the corresponding values for each key. If a source doesn't have a key,
the tuple will be filled with the given fillValue
.
Returns a Map containing all keys from this map and all the given sources
key-value stream sources,
and as values the result of applying the given mergeFun
to the key and all the corresponding values for each key. If a source doesn't have a key,
the given tuple will be filled with the given fillValue
.
Returns a Map containing the common keys from this map and all the given sources
key-value stream sources,
and as values tuples of all the corresponding values for each common key. If a source doesn't have a key,
the key will be skipped.
Returns a Map containing the common keys from this map and all the given sources
key-value stream sources,
and as values the result of applying given mergeFun
to the key and values of all the corresponding values for each common key.
If a source doesn't have a key, the key will be skipped.