@tanstack/db
Version:
A reactive client store for building super fast apps on sync
11 lines (10 loc) • 424 B
JavaScript
var 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