W3cubDocs

/Bluebird

PromiseInspection

interface PromiseInspection {
    any reason()
    any value()
    boolean isPending()
    boolean isRejected()
    boolean isFulfilled()
    boolean isCancelled()
}

This interface is implemented by Promise instances as well as the PromiseInspection result given by .reflect().

© 2013–2017 Petka Antonov
Licensed under the MIT License.
http://bluebirdjs.com/docs/api/promiseinspection.html