Re: [heycam/webidl] Allow functions to be used as promise inputs (#1020)

This would mean that something like `Promise.resolve()` cannot be expressed through Web IDL.

It does seem useful as it's the kind of code you would expect to work, but I worry about the mismatch with JavaScript in general becoming a problem for developers as they would have to know about this and the difference between Web IDL and non-Web IDL APIs.

-- 
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/1020#issuecomment-914971106

Received on Wednesday, 8 September 2021 06:56:38 UTC