Re: [heycam/webidl] Import (and fix) the promises guide (#490)

> Make the Web IDL promise type a wrapper around a PromiseCapability record, not just a JS Promise object.

Is there a way to get this record out of an arbitrary Promise object? I believe this would be needed for <https://heycam.github.io/webidl/#es-to-promise> (as it exists today), since `Promise.resolve()` returns its argument if it already is a promise.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/heycam/webidl/issues/490#issuecomment-462844607

Received on Tuesday, 12 February 2019 17:04:55 UTC