W3C
school
文档首页
HTML
CSS
Javascript
Python
jQuery
NodeJS
PHP
Java
MySQL
Express
More »
开关
Q 官方文档
Interfacing with Node.js Callbacks
deferred.makeNodeResolver()
promise.nodeify()
Q.denodeify()
Q.nbind()
Q.nfapply()
Q.nfcall()
Q.ninvoke()
Q.nmapply()
Q.defer()
deferred.notify()
deferred.reject()
deferred.resolve()
Q.defer()
Promise-for-Array
promise.all()
promise.allSettled()
promise.spread()
Core Promise
promise.catch()
promise.done()
promise.fin()
promise.progress()
promise.then()
Utility
promise.delay()
promise.tap()
promise.thenReject()
promise.thenResolve()
promise.timeout()
Q.delay()
Custom Messaging
promise.dispatch()
Promise-for-Function
promise.fapply()
promise.fbind()
promise.fcall()
Promise-for-Object
promise.get()
promise.invoke()
promise.keys()
promise.mapply()
State Inspection
promise.inspect()
promise.isFulfilled()
promise.isPending()
promise.isRejected()
Q object
Q()
Q.Promise()
Q.reject()
Generators
Q.async()
Q.spawn()
Error Handling and Tracking
Q.getUnhandledReasons()
Q.onerror
Q.resetUnhandledRejections()
Q.stopUnhandledRejectionTracking()
Other
Q.isPromise()
Q.isPromiseAlike()
Q.longStackSupport
Q.promised()
Index
index