crcn/beanpole — Issue #62: move callback function to event emitter - better for error handling
Author: crcn
Created: 2011-12-06 03:59:29+00:00
State: open

e.g:

```javascript
router.pull("hello/world", function() {

//result

}).on('error', function() {

//error

});
```
where the second parameter is on result (as it's always been, and the returned value is an event emitter for additional responses. E.g:

router.pull('hello/world').
on('result', function() {
//result
}).
on('error', function(){
//error
})