- From: Tobie Langel <notifications@github.com>
- Date: Thu, 08 Dec 2016 05:26:26 -0800
- To: heycam/webidl <webidl@noreply.github.com>
Received on Thursday, 8 December 2016 13:27:01 UTC
> What's the reason to disallow nullable promise types? That said, they don't seem to be used, so this is probably OK... I think the initial idea was that it would be a bad practice to have an attribute or operation not consistently return a promise. That said, there's a number of functions that take a promise as argument, now, and I could imagine scenarios where it would make sense for these to be nullable. So on second thought this seems like a good practice issue that maybe shouldn't be enforced by WebIDL. -- 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-265739062
Received on Thursday, 8 December 2016 13:27:01 UTC