Allow for async/await to use global.Promise and not builtin Promise

David Teller dteller at
Mon Jun 8 17:59:39 UTC 2020

Well, you can do that pretty easily with generators/yield instead of
async/await. So, not sure it's worth it.

On 06/05/2020 08:37, medikoo wrote:
> Jordan Harband wrote
>> Anything "more efficient" would likely not be spec compliant
> Promises (also those specified in ES) are quite opinionated, and I believe
> we should have right to practice our own opinions in our own apps.
> On these grounds thenable objects (so not necessarily promise instances) are
> supported, and work seamlessly in promise chains.
> Unfortunately async/await breaks that support, it'll be great if we can
> recover from that.
> --
> Sent from:
> _______________________________________________
> es-discuss mailing list
> es-discuss at

More information about the es-discuss mailing list