Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feedback for “Operations” (docs/400-guides/660-streaming/100-stream/400-operations.mdx) #799

Open
florianbepunkt opened this issue Aug 3, 2024 · 1 comment

Comments

@florianbepunkt
Copy link

Hi, what I miss from the stream docs is the "other" side of interoperability. How can I get from an effect Stream back to a "regular" NodeJS stream. We have a lot of scenarios, where we do something like

ReadableStream (API, CSV file, etc) ---> Data Processing ---> Writable Stream (S3 Upload).

Effect is great for the data processing step, but for large data sources, I need to stream the data back (s3 upload in the workflow above), but I have no idea how to get from effect's data stream back to a node stream.

@tim-smart
Copy link
Member

There is a module in /platform-node for working with node streams https://effect-ts.github.io/effect/platform-node-shared/NodeStream.ts.html

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants