Lines Matching refs:Promise
3 var Promise = require('./core.js'); variable
5 module.exports = Promise;
6 Promise.enableSynchronous = function () {
7 Promise.prototype.isPending = function() { class
11 Promise.prototype.isFulfilled = function() {
15 Promise.prototype.isRejected = function() {
19 Promise.prototype.getValue = function () {
31 Promise.prototype.getReason = function () {
43 Promise.prototype.getState = function () {
55 Promise.disableSynchronous = function() {
56 Promise.prototype.isPending = undefined;
57 Promise.prototype.isFulfilled = undefined;
58 Promise.prototype.isRejected = undefined;
59 Promise.prototype.getValue = undefined;
60 Promise.prototype.getReason = undefined;
61 Promise.prototype.getState = undefined;