Mike Luan
Mike Luan
Hi, we were also digging into some dbus api and found requirements on async callbacks.. To deal with this w/ minimum impact on dependency structures, a method shell ``` js...
:+1: sounds great, would that be an upcoming feature on mainline repo? :tangerine:
+1 on No external deps, currently I'm returning a bare ``` js function(cb) { } ``` in handler function, where cb is in ``` js function cb(err, result) { }...
sorry for fuzzy replies, yes you're right that is the point :smiley_cat: another proposal is to add dbus-error support, both in sync try-catch and in thunk cb, it would be...
Or, the node way? ``` js var handlerObj = { someMethod: function(arg1, arg2, ..., cb) { cb( .. ); } }; ``` What if everything is async?
I see, ``` js var handlerObj = { someMethod: function(){ return { then: function(cb){ cb( undefined, result ); } }; } }; ``` in mocha way
unfortunately i'm not into promise lib, need to dig in a bit.. Supporting bare cb and promise at the same time should be the case, will fork again to do...
Sorry for the absence, co looks great!
applied some fixes locally, though it looks old to me too
Same error @mahesh2000 undefined reference to 'ulp_entry'... here