https://text-stream.netlify.app - doesn’t work as expected on Netlify, text is returned as a single chunk, so it seems like it waits until the ReadableStream is complete before sending the response
Both are on free tier, but I don’t think the timeout is the issue as the chunks start streaming prior to the limit.
The code is identical apart from the build adapters.
Synchronous functions can stream data to clients as it becomes available, rather than returning a buffered payload at the end of the computation. This lets developers and frameworks create faster experiences by using streaming and partial hydration to get content and interactions in front of people as quickly as possible.
To stream a function’s response, return a ReadableStream as the body property of the Response object.