Closed trowski closed 1 year ago
This improves consuming a ReadableStream in a loop.
ReadableStream
// Before while (($chunk = $stream->read()) !== null) { // $chunk is a string } // After foreach ($stream as $chunk) { // $chunk is a string }
This improves consuming a
ReadableStream
in a loop.