Re: [heycam/webidl] Disallow nullable Promise types. (#248)

I'm not sure that a promise as part of a union makes sense. That would mean you either return directly or later, whereas promises are kinda meant to unify timing. Same for something accepting a promise. Although there it might make sense to wrap the given value if it is not a promise rather than not accept it.

-- 
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/pull/248#issuecomment-265796164

Received on Thursday, 8 December 2016 17:10:42 UTC