You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Q.delay(...) is just new Promise(function (resolve) { setTimeout(resolve, ...) }). It's something I have considered adding a method for on Promise, but it is non-standard and pretty simple for people to implement themselves.
Q.finaly just requires you to pass the same function to both .then handlers.
You should definitely check out browserify. It's like a way better version of component.
I want to rewrite a library which using Q. I need it for the browser and using component, so I want to replace kriskowal/q with then/promise.
The code I want to rewrite uses
Q.delay()
andQ.finally()
, do you know how I can rewrite it?The text was updated successfully, but these errors were encountered: