"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
var react_1 = require("react");
exports.isPromise = function (thing) {
    return typeof thing.then === 'function';
};
exports.isRequestInfo = function (thing) { return !exports.isPromise(thing); };
exports.BuilderAsyncRequestsContext = react_1.default.createContext({
    requests: [],
    errors: [],
    logs: [],
});
//# sourceMappingURL=builder-async-requests.js.map