Re: [whatwg/streams] Why is `size` just a function? (Issue #1226)

This is due to how Web IDL works. The type of attributes don't really matter, and it's easier to create a `Function` in spec text. Whereas the types of dictionary members have normative impacts on how inputs are processed and called.

Hope this helps!

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

Message ID: <whatwg/streams/issues/1226/1083554143@github.com>

Received on Wednesday, 30 March 2022 19:45:06 UTC