- From: Jed Fox <notifications@github.com>
- Date: Wed, 30 Mar 2022 12:39:59 -0700
- To: whatwg/streams <streams@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Wednesday, 30 March 2022 19:40:41 UTC
Both [`ByteLengthQueuingStrategy`](https://streams.spec.whatwg.org/commit-snapshots/9538b77788be6ff7304fcf582823e3d56463ef2a/#bytelengthqueuingstrategy) and [`CountQueuingStrategy`](https://streams.spec.whatwg.org/commit-snapshots/9538b77788be6ff7304fcf582823e3d56463ef2a/#countqueuingstrategy) are defined as having a `readonly attribute Function size`. However, the definition for [`QueuingStrategy`](https://streams.spec.whatwg.org/commit-snapshots/9538b77788be6ff7304fcf582823e3d56463ef2a/#dictdef-queuingstrategy) has a specific type for this field: [`QueuingStrategySize`](https://streams.spec.whatwg.org/commit-snapshots/9538b77788be6ff7304fcf582823e3d56463ef2a/#callbackdef-queuingstrategysize). Is there a reason these two interfaces do not use the more specific type? -- Reply to this email directly or view it on GitHub: https://github.com/whatwg/streams/issues/1226 You are receiving this because you are subscribed to this thread. Message ID: <whatwg/streams/issues/1226@github.com>
Received on Wednesday, 30 March 2022 19:40:41 UTC