Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

threadpool.all.emit() & threadpool.any.emit() only support one 'eventData' #30

Open
dionysusxie opened this Issue · 0 comments

1 participant

@dionysusxie

threadpool.all.emit() & threadpool.any.emit() only support one 'eventData', please see the codes below:

function emitAll (event, data) {
pool.forEach(function (v,i,o) {
v.emit(event, data);
});

return poolObject;

}

But in the README, you wrote:
.all.emit( eventType, eventData [, eventData ... ] )


By the way, thank you for creating the 'threads-a-gogo' !
It's useful to me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.