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

feature request: expose stream object in es.map #65

Closed
cambridgemike opened this Issue Jun 22, 2014 · 2 comments

Comments

Projects
None yet
4 participants
@cambridgemike

cambridgemike commented Jun 22, 2014

It would be nice to call this.emit('myEvent', data) from within .map().

@anko

This comment has been minimized.

anko commented Mar 24, 2015

That sounds like a very leaky abstraction; if you're calling emit multiple times inside a map, it's not a map anymore. What's wrong with es.through?

@dominictarr

This comment has been minimized.

Owner

dominictarr commented Mar 26, 2015

@cambridgemike sorry, am not adding new features. and @anko is correct that you can easily do that with through.

@right9ctrl right9ctrl closed this Sep 5, 2018

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