Note: this class is used to turn a standard JavaScript Map
into an asynchronous tree. This is unrelated to this library’s map
function, which is used to map a tree’s keys and/or values.
new MapTree([iterable])
- iterable: Iterable
Constructs a new MapTree
instance. This iterable
parameter can be a
Map
instance, or any other iterable of key-value pairs.