Skip to content

Use v8 Promise instead of global Promise #1

@banyudu

Description

@banyudu

Hi!
When user sets global.Promise = require('bluebird');
This module does not work any more because of bluebird's check in its constructor.

Bluebird will throw the promise constructor cannot be invoked directly.

Could you somehow use V8's Promise instead of global.Promise?

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