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

Right, promises as part of a union doesn't make sense, and neither does nullable promise types. The idea is that if something accepts or returns a promise, it should always accept or return a promise. In the "accepting" case, the convert-from-ES-value algorithm will convert anything into a promise via the equivalent of Promise.resolve

-- 
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-265822974

Received on Thursday, 8 December 2016 18:56:38 UTC