chainit icon indicating copy to clipboard operation
chainit copied to clipboard

Turn an asynchronous JavaScript api into an asynchronous chainable JavaScript api

Results 5 chainit issues
Sort by recently updated
recently updated
newest added

I'm leaving this open for a week in case someone WTF about that.

Hi, i've started a fork to mainly improve error handling (with tests) https://github.com/kapouer/chainit also with updated dependency on queue 3. There are some changes that you might not like: -...

Are you planning on doing it @kapouer? I guess we need to decide on error handling otherwise we would introduce another breaking change

See https://github.com/vvo/chainit/issues/14#issuecomment-65461397

Hi, i have ``` function Test() {} util.inherits(Test, events.EventEmitter); var ChainableTest = chainit(Test); ``` i'd like to use chainit on the "on" listener function: ``` var mytest = new ChainableTest();...