Is it possible to use a native Promise object with q ?
faressoft opened this issue · 1 comments
faressoft commented
Is it possible to use a native Promise object with q ?
console.log(typeof q.all([]));
Doesn't return a native Promise. Is there anyway to force it to return a native Promise ?
kriskowal commented
Promise.resolve(promise)
will coerce any promise to a standard library promise. All promise methods of all libraries including the standard library will accept another kind of promise, by virtue of "thenability".