Re: [whatwg/webidl] Disallow FrozenArray<> in argument lists, and maybe dictionaries and return types (Issue #1399)

Thanks for opening [an issue](https://github.com/WebAudio/web-audio-api/issues/2581) on Web Audio API, @domenic!

I have a follow up question on one of your points:

> Similarly, it never makes sense to use FrozenArray<> as a type for an "input" dictionary. You should always use sequences.

Can you explain a bit more why it doesn't make sense? Also if this doesn't make sense, what would be the recommendation of `FrozenArray` in the AudioWorkletProcesor's `process()`? The original intention was to clarify that the array passed by the audio renderer is not mutable by the user code.

cc @padenot

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/webidl/issues/1399#issuecomment-2035723636
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/webidl/issues/1399/2035723636@github.com>

Received on Wednesday, 3 April 2024 22:36:15 UTC