Skip to content

values() is not a function or its return value is not iterable #12

@piranna

Description

@piranna

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions