UNPKG

@tanstack/db

Version:

A reactive client store for building super fast apps on sync

13 lines (12 loc) • 376 B
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; } export { getPooledLiveQuerySource, registerPooledSource }; //# sourceMappingURL=pooled-source.js.map