You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm working on this in the context of distributed continuations, which is much harder, but here's a polyfill for Promise.prototype.then that works with native Promises (probably modulo some error handling).
Maybe I'm missing something, but native Promise.prototype.then doesn't pass resolve and reject parameters to the callback. You only get those with the Promise constructor.
I'm working on this in the context of distributed continuations, which is much harder, but here's a polyfill for
Promise.prototype.then
that works with nativePromises
(probably modulo some error handling).As I work out the rest of promises I'll try to introduce this into stopify.
The text was updated successfully, but these errors were encountered: