node-vasync icon indicating copy to clipboard operation
node-vasync copied to clipboard

barrier with abort()

Open jclulow opened this issue 12 years ago • 0 comments

It would be neat if you could, once you detect some kind of error condition, call an abort(err) routine on a Barrier. This could fire drain(err) immediately, and ignore further done() calls for this Barrier.

jclulow avatar Oct 06 '13 04:10 jclulow