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

Closed
dionysusxie opened this Issue Dec 11, 2012 · 1 comment

Comments

Projects
None yet
2 participants

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.

Owner

xk commented Dec 21, 2016

fixed in 0.1.8

xk closed this Dec 21, 2016

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