@@ -3,7 +3,7 @@ async-done
33
44[ ![ build status] ( https://secure.travis-ci.org/phated/async-done.png )] ( http://travis-ci.org/phated/async-done )
55
6- Handles completion and errors for callbacks, promises, observables and streams.
6+ Handles completion and errors for callbacks, promises, observables, child processes and streams.
77
88Will run call the function on ` nextTick ` . This will cause all functions to be async.
99
@@ -55,6 +55,9 @@ Optionally takes a callback to call when async tasks are complete.
5555* ` Stream ` or ` EventEmitter ` returned
5656 - Completion: [ end-of-stream] ( https://www.npmjs.org/package/end-of-stream ) module
5757 - Error: [ domains] ( http://nodejs.org/api/domain.html )
58+ * ` Child Process ` returned
59+ - Completion [ end-of-stream] ( https://www.npmjs.org/package/end-of-stream ) module
60+ - Error: [ domains] ( http://nodejs.org/api/domain.html )
5861* ` Promise ` returned
5962 - Completion: [ onFulfilled] ( http://promisesaplus.com/#point-26 ) method called
6063 - Error: [ onRejected] ( http://promisesaplus.com/#point-30 ) method called
@@ -74,7 +77,7 @@ Errors can be caused by:
7477
7578* A thrown error
7679* An error passed to a ` done ` callback
77- * An ` error ` event emitted on a returned ` Stream ` or ` EventEmitter `
80+ * An ` error ` event emitted on a returned ` Stream ` , ` EventEmitter ` or ` Child Process `
7881* A rejection of a returned ` Promise `
7982* The ` onError ` handler being called on an ` Observable `
8083
0 commit comments