open-next icon indicating copy to clipboard operation
open-next copied to clipboard

Feat readable body

Open conico974 opened this issue 6 months ago • 2 comments

This PR change the body of InternalResult from string to ReadableStream. This allow for edge runtime function to use streaming, and it is necessary to prepare for PPR.

This should also remove the need to add a fakeStream in non streaming wrapper as the stream is now always consumed if you return a body.

conico974 avatar Aug 06 '24 10:08 conico974