Closed
Description
What is the problem this feature will solve?
Currently, it is not possibly to customize the queueing strategy of the ReadableStream returned by stream.Readable.toWeb()
.
What is the feature you are proposing to solve the problem?
Change the signature from:
stream.Readable.toWeb(streamReadable: Readable): ReadableStream
stream.Readable.toWeb(streamReadable: Readable, strategy?: QueuingStrategy): ReadableStream
What alternatives have you considered?
I’m not aware of any alternatives: As far as I know, there is no way to change the queuing strategy of a ReadableStream after its constructor was invoked.