bonobo-js icon indicating copy to clipboard operation
bonobo-js copied to clipboard

promises?

Open alisman opened this issue 10 years ago • 1 comments

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?

alisman avatar Oct 07 '15 21:10 alisman

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 ;)

f5io avatar Oct 08 '15 12:10 f5io