wintercg / proposal-common-minimum-api

https://common-min-api.proposal.wintercg.org/
Other
216 stars 15 forks source link

Streams Standard implementation behave wildly differently in Deno, Node.js, Bun: Investigate #55

Closed guest271314 closed 7 months ago

guest271314 commented 11 months ago

References:

guest271314 commented 11 months ago

See also https://github.com/cloudflare/workerd/issues/423.

guest271314 commented 7 months ago

Bun fixed https://github.com/oven-sh/bun/issues/1886. Still doesn't support full-duplex streaming https://github.com/oven-sh/bun/issues/7206.

We can upload a ReadableStream and serve that stream to subsequent requests in Deno. CloudFlare Workerd maintainers refuse to support that use case. I don't think Node.js has a built-in server that we can use return Response(stream) in.