#843·q

Is Q a superset of a native Promise?

Author: andykaisCreated Apr 15, 2019Updated Apr 20, 2019

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

javascript
Promise.resolve(Q.resolve(1))

but I want to know if a Q promise can simply be used in-place of a native promise.