What is the type of issue?
Documentation is missing
What is the issue?
If a brownfield application wants to adopt Effect and use its Streams abstraction, then it's likely that they'll need to interop with streams, and my guess is that they'll have
- Node.js streams
- Web-standard ReadableStream
Unfortunately the documentation doesn't mention either of these, which is pretty odd? It looks like there is a Stream.fromReadableStream() method, but it's undocumented.
My guess is that you'd interop Node.js streams to Effect Streams by using them as async generators, but there is no documentation for that either.
Where did you find it?
https://effect.website/docs/stream/creating/
What is the type of issue?
Documentation is missing
What is the issue?
If a brownfield application wants to adopt Effect and use its Streams abstraction, then it's likely that they'll need to interop with streams, and my guess is that they'll have
Unfortunately the documentation doesn't mention either of these, which is pretty odd? It looks like there is a
Stream.fromReadableStream()method, but it's undocumented.My guess is that you'd interop Node.js streams to Effect Streams by using them as async generators, but there is no documentation for that either.
Where did you find it?
https://effect.website/docs/stream/creating/