bonobo-js
bonobo-js copied to clipboard
promises?
It would be nice if the run method accepted a callback or returned a promise so that associating calls and emitted events could be abstracted away. This was easy enough to do in a wrapper, but it would be a nice feature of the library itself. It there and I'm missing it? And if not, would you accept a pull request around that?
This is a nice idea, and yes I would accept a pull request for this feature. Should be reasonably easy to implement.
I am quite happy for you to go ahead ;)