Skip to content

Promise.all spec compliance issue #1711

@iamart

Description

@iamart

Spec expects a single iterable object passed to Promise.all. Bluebird's implementation defies and allows passing a promise with an iterable value.

Example:

await Promise.all(Promise.resolve([1,2]));

This returns an array instead of throwing an error.

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