- From: Darien Maillet Valentine <notifications@github.com>
- Date: Tue, 13 Dec 2022 18:44:15 -0800
- To: whatwg/webidl <webidl@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 14 December 2022 02:44:27 UTC
> I don't understand why we'd restrict promises from being held by these types. I was thinking that in the absence of a definite use case, the added complexity of specifying the constraints right wouldn’t be worthwhile — shouldn’t `FrozenArray<Promise<SomeDictionary>>` be invalid just as `FrozenArray<SomeDictionary>` should be? But it’s true that e.g. `FrozenArray<Promise<SomeInterface>>` wouldn’t be problematic, it’s just not clear to me when it would have any utility. -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/webidl/issues/1243#issuecomment-1350293326 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/webidl/issues/1243/1350293326@github.com>
Received on Wednesday, 14 December 2022 02:44:27 UTC