UNPKG

next

Version:

The React Framework

23 lines (21 loc) 769 B
/** * Create a "Thenable" that does not resolve. This is used to suspend indefinitely when data is not available yet. */ "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); Object.defineProperty(exports, "unresolvedThenable", { enumerable: true, get: function() { return unresolvedThenable; } }); const unresolvedThenable = { then: ()=>{} }; if ((typeof exports.default === 'function' || (typeof exports.default === 'object' && exports.default !== null)) && typeof exports.default.__esModule === 'undefined') { Object.defineProperty(exports.default, '__esModule', { value: true }); Object.assign(exports.default, exports); module.exports = exports.default; } //# sourceMappingURL=unresolved-thenable.js.map