- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 08 Dec 2016 10:56:04 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Thursday, 8 December 2016 18:56:38 UTC
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