MCPcopy Create free account
hub / github.com/TruthHun/BookStack / PromiseInspection

Function PromiseInspection

static/word2md/mammoth.browser.js:8679–8690  ·  view source on GitHub ↗
(promise)

Source from the content-addressed store, hash-verified

8677"use strict";
8678module.exports = function(Promise) {
8679function PromiseInspection(promise) {
8680 if (promise !== undefined) {
8681 promise = promise._target();
8682 this._bitField = promise._bitField;
8683 this._settledValueField = promise._isFateSealed()
8684 ? promise._settledValue() : undefined;
8685 }
8686 else {
8687 this._bitField = 0;
8688 this._settledValueField = undefined;
8689 }
8690}
8691
8692PromiseInspection.prototype._settledValue = function() {
8693 return this._settledValueField;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected