Debug purpose only. Used to inject an unexpected end to existing internal stream,
to test stream retry works well or not.
When assign it to true, for next incoming "data" event of internal stream,
RetriableReadableStream will try to emit an "end" event to existing internal
stream to force it end and start retry from the breaking point.
The value will then update to "undefined", once the injection works.
type
{boolean}
memberof
RetriableReadableStreamOptions
Optional maxRetryRequests
maxRetryRequests:undefined | number
Max retry count (>=0), undefined or invalid value means no retry
Debug purpose only. Used to inject an unexpected end to existing internal stream, to test stream retry works well or not.
When assign it to true, for next incoming "data" event of internal stream, RetriableReadableStream will try to emit an "end" event to existing internal stream to force it end and start retry from the breaking point. The value will then update to "undefined", once the injection works.
{boolean}
RetriableReadableStreamOptions