GRAYBYTE WORDPRESS FILE MANAGER3447

Server IP : 198.54.121.189 / Your IP : 216.73.216.112
System : Linux premium69.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64
PHP Version : 7.4.33
Disable Function : NONE
cURL : ON | WGET : ON | Sudo : OFF | Pkexec : OFF
Directory : /lib/node_modules/npm/node_modules/bluebird/js/release/
Upload Files :
Current_dir [ Not Writeable ] Document_root [ Writeable ]

Command :


Current File : /lib/node_modules/npm/node_modules/bluebird/js/release//synchronous_inspection.js
"use strict";
module.exports = function(Promise) {
function PromiseInspection(promise) {
    if (promise !== undefined) {
        promise = promise._target();
        this._bitField = promise._bitField;
        this._settledValueField = promise._isFateSealed()
            ? promise._settledValue() : undefined;
    }
    else {
        this._bitField = 0;
        this._settledValueField = undefined;
    }
}

PromiseInspection.prototype._settledValue = function() {
    return this._settledValueField;
};

var value = PromiseInspection.prototype.value = function () {
    if (!this.isFulfilled()) {
        throw new TypeError("cannot get fulfillment value of a non-fulfilled promise\u000a\u000a    See http://goo.gl/MqrFmX\u000a");
    }
    return this._settledValue();
};

var reason = PromiseInspection.prototype.error =
PromiseInspection.prototype.reason = function () {
    if (!this.isRejected()) {
        throw new TypeError("cannot get rejection reason of a non-rejected promise\u000a\u000a    See http://goo.gl/MqrFmX\u000a");
    }
    return this._settledValue();
};

var isFulfilled = PromiseInspection.prototype.isFulfilled = function() {
    return (this._bitField & 33554432) !== 0;
};

var isRejected = PromiseInspection.prototype.isRejected = function () {
    return (this._bitField & 16777216) !== 0;
};

var isPending = PromiseInspection.prototype.isPending = function () {
    return (this._bitField & 50397184) === 0;
};

var isResolved = PromiseInspection.prototype.isResolved = function () {
    return (this._bitField & 50331648) !== 0;
};

PromiseInspection.prototype.isCancelled = function() {
    return (this._bitField & 8454144) !== 0;
};

Promise.prototype.__isCancelled = function() {
    return (this._bitField & 65536) === 65536;
};

Promise.prototype._isCancelled = function() {
    return this._target().__isCancelled();
};

Promise.prototype.isCancelled = function() {
    return (this._target()._bitField & 8454144) !== 0;
};

Promise.prototype.isPending = function() {
    return isPending.call(this._target());
};

Promise.prototype.isRejected = function() {
    return isRejected.call(this._target());
};

Promise.prototype.isFulfilled = function() {
    return isFulfilled.call(this._target());
};

Promise.prototype.isResolved = function() {
    return isResolved.call(this._target());
};

Promise.prototype.value = function() {
    return value.call(this._target());
};

Promise.prototype.reason = function() {
    var target = this._target();
    target._unsetRejectionIsUnhandled();
    return reason.call(target);
};

Promise.prototype._value = function() {
    return this._settledValue();
};

Promise.prototype._reason = function() {
    this._unsetRejectionIsUnhandled();
    return this._settledValue();
};

Promise.PromiseInspection = PromiseInspection;
};

[ Back ]
Name
Size
Last Modified
Owner / Group
Permissions
Options
..
--
March 03 2024 22:36:28
root / root
0755
any.js
0.411 KB
March 10 2021 14:36:36
root / root
0644
assert.js
1.614 KB
March 10 2021 14:36:36
root / root
0644
async.js
4.05 KB
March 10 2021 14:36:36
root / root
0644
bind.js
1.924 KB
March 10 2021 14:36:36
root / root
0644
bluebird.js
0.284 KB
March 10 2021 14:36:36
root / root
0644
call_get.js
4.253 KB
March 10 2021 14:36:36
root / root
0644
cancel.js
3.62 KB
March 10 2021 14:36:36
root / root
0644
catch_filter.js
1.393 KB
March 10 2021 14:36:36
root / root
0644
context.js
2.326 KB
March 10 2021 14:36:36
root / root
0644
debuggability.js
29.63 KB
March 10 2021 14:36:36
root / root
0644
direct_resolve.js
1.362 KB
March 10 2021 14:36:36
root / root
0644
each.js
0.771 KB
March 10 2021 14:36:36
root / root
0644
errors.js
3.63 KB
March 10 2021 14:36:36
root / root
0644
es5.js
1.932 KB
March 10 2021 14:36:36
root / root
0644
filter.js
0.307 KB
March 10 2021 14:36:36
root / root
0644
finally.js
4.505 KB
March 10 2021 14:36:36
root / root
0644
generators.js
7.579 KB
March 10 2021 14:36:36
root / root
0644
join.js
8.025 KB
March 10 2021 14:36:36
root / root
0644
map.js
5.251 KB
March 10 2021 14:36:36
root / root
0644
method.js
1.727 KB
March 10 2021 14:36:36
root / root
0644
nodeback.js
1.523 KB
March 10 2021 14:36:36
root / root
0644
nodeify.js
1.608 KB
March 10 2021 14:36:36
root / root
0644
promise.js
25.591 KB
March 10 2021 14:36:36
root / root
0644
promise_array.js
5.084 KB
March 10 2021 14:36:36
root / root
0644
promisify.js
11.896 KB
March 10 2021 14:36:36
root / root
0644
props.js
3.044 KB
March 10 2021 14:36:36
root / root
0644
queue.js
1.829 KB
March 10 2021 14:36:36
root / root
0644
race.js
1.221 KB
March 10 2021 14:36:36
root / root
0644
reduce.js
5.006 KB
March 10 2021 14:36:36
root / root
0644
schedule.js
2.098 KB
March 10 2021 14:36:36
root / root
0644
settle.js
1.233 KB
March 10 2021 14:36:36
root / root
0644
some.js
3.866 KB
March 10 2021 14:36:36
root / root
0644
synchronous_inspection.js
2.747 KB
March 10 2021 14:36:36
root / root
0644
thenables.js
2.081 KB
March 10 2021 14:36:36
root / root
0644
timers.js
2.339 KB
March 10 2021 14:36:36
root / root
0644
using.js
7.349 KB
March 10 2021 14:36:36
root / root
0644
util.js
10.279 KB
March 10 2021 14:36:36
root / root
0644

GRAYBYTE WORDPRESS FILE MANAGER @ 2025
CONTACT ME
Static GIF