Home & blog

Tag: es6

Resolving ES6 promises from outside

16 Feb 2020 es6

When the JavaScript Promises specification was released, one of the first questions that got asked (and is still asked) was: but how do I resolve them from outside, a la jQuery deferred objects? That's not how they're intended to work, but it is possible.