With the next code
[...mediasoupWorkers.values()]
being mediasoupWorkers an instance of multimap I get the error TypeError: mediasoupWorkers.values is not a function or its return value is not iterable. Seems like multimap doesn't fully implement the iterable and/or iterator protocol, just only return an object with a next method, and the coversion to an array doesn't works.