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

Support Stream.on fn :error | :halt | :done -> ... end #3306

Closed
josevalim opened this issue May 5, 2015 · 1 comment
Closed

Support Stream.on fn :error | :halt | :done -> ... end #3306

josevalim opened this issue May 5, 2015 · 1 comment

Comments

@josevalim
Copy link
Member

See discussion here: https://groups.google.com/forum/#!topic/elixir-lang-talk/e-toyIbrLTg

@josevalim
Copy link
Member Author

Instead of complicating the Stream struct, I have decided to provide Stream.transform/4 which can be seen as a combination of Stream.transform/3 + Stream.resource/3.

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

No branches or pull requests

1 participant