@tanstack/db
Version:
A reactive client store for building super fast apps on sync
13 lines (12 loc) • 515 B
JavaScript
;
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
const pooledSources = /* @__PURE__ */ new WeakMap();
function registerPooledSource(view, source) {
pooledSources.set(view, source);
}
function getPooledLiveQuerySource(value) {
return typeof value === `object` && value !== null ? pooledSources.get(value) : void 0;
}
exports.getPooledLiveQuerySource = getPooledLiveQuerySource;
exports.registerPooledSource = registerPooledSource;
//# sourceMappingURL=pooled-source.cjs.map