Files
NapCatQQ/.pnpm-store/v3/files/3c/6e76debf09954e3feb12ae04b0327c469b4b2053546b978546d3d3ce48e348b24e728730eb0448a223373cf6ec9880d0b75aed7410f6dce1958a96ad36a686
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

15 lines
741 B
Plaintext

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveSingletonScopedBinding = resolveSingletonScopedBinding;
const cacheResolvedValue_1 = require("./cacheResolvedValue");
const resolveBindingActivations_1 = require("./resolveBindingActivations");
function resolveSingletonScopedBinding(resolve) {
return (params, binding) => {
if (binding.cache.isRight) {
return binding.cache.value;
}
const resolvedValue = (0, resolveBindingActivations_1.resolveBindingActivations)(params, binding, resolve(params, binding));
return (0, cacheResolvedValue_1.cacheResolvedValue)(binding, resolvedValue);
};
}
//# sourceMappingURL=resolveSingletonScopedBinding.js.map