Skip to content
This repository was archived by the owner on Jan 22, 2025. It is now read-only.
This repository was archived by the owner on Jan 22, 2025. It is now read-only.

Is Q a superset of a native Promise? #843

@andykais

Description

@andykais

Hi, new to using Q here in an existing codebase. Could someone clarify this for me? A Q promise has all the functionality of a native promise, with no changed behavior, correct? There are only additional methods that allow more functionality?

#836 mentioned that you can coerce a promise from a Q promise with

Promise.resolve(Q.resolve(1))

but I want to know if a Q promise can simply be used in-place of a native 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