commit | 00f360acdf0202cee514a91cec0c295ad13caa6e | [log] [tgz] |
---|---|---|
author | Avery Pennarun <apenwarr@gmail.com> | Fri Jan 04 02:36:34 2013 -0500 |
committer | Avery Pennarun <apenwarr@gmail.com> | Fri Jan 04 02:46:04 2013 -0500 |
tree | aa8129c3092c5d2c5a1254f56c34bed954556ebb | |
parent | 0c28457e5da084259ff3ed86cdc0bb76f5646a72 [diff] |
Change enqueue()/runqueue() to avoid global variables. Also, change enqueued functions to call done() callbacks instead of using return values, so that async functions (like http requests) can be used as steps. Add some unit tests for enqueue/runqueue.