@tanstack/db
Version:
A reactive client store for building super fast apps on sync
10 lines (9 loc) • 368 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;
}
export { getPooledLiveQuerySource, registerPooledSource };
//# sourceMappingURL=pooled-source.js.map