next.js
38887136 - createFromFetch -> createFromReadableStream (#72418)

Commit
1 year ago
createFromFetch -> createFromReadableStream (#72418) The only difference between createFromFetch and createFromReadableStream is that createFromFetch accepts a promise for a fetch, and createFromReadableStream accepts a Flight ReadableStream (e.g. response.body). Since we're doing other stuff with the response object anyway there's not much point using the slightly higher-level form.
Author
Parents
Loading