Re: [heycam/webidl] Some things do not seem sound in “react to a Promise<T>” (#943)

I'm pretty sure that service workers rely on the type being enforced when an arbitrary promise is passed in (e.g., for `respondWith()`. And once we make ByteString map to a byte sequence and vice versa I could see it being useful for return values as well. I don't see why promises would be different from synchronous callbacks/functions.

-- 
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/943#issuecomment-768057845

Received on Wednesday, 27 January 2021 06:11:57 UTC