Closed ewindisch closed 8 years ago
@tizzo this is the WIP PR for async pipes. I'm behind on writing tests, having those will make me more comfortable with the merge. Thanks for your feedback last night!
The go version is ugly as sin, but it's working and passing tests.
Closes #60
Passes a context variable to kernels, making it necessary for kernels to execute a context.done() or context.fail() upon completion.
This also means that functions passed in a waterfall/flow must also expect a callback. This makes the code more Node-friendly in some ways.
The map and tee functions are now asynchronous as well, using event emitters and a collector to retrieve results.
Signed-off-by: Eric Windisch eric@iopipe.com