applesauce-core
Advanced tools
Comparing version 0.0.0-next-20250213170222 to 0.0.0-next-20250213173056
@@ -1,2 +0,2 @@ | ||
import { filter, shareReplay } from "rxjs"; | ||
import { filter, ReplaySubject, share, timer } from "rxjs"; | ||
import { LRU } from "../helpers/lru.js"; | ||
@@ -27,3 +27,3 @@ import * as Queries from "../queries/index.js"; | ||
.run(this.store, this) | ||
.pipe(shareReplay({ refCount: true, bufferSize: 1 })); | ||
.pipe(share({ connector: () => new ReplaySubject(1), resetOnComplete: () => timer(60_000) })); | ||
this.observables.set(query, observable); | ||
@@ -30,0 +30,0 @@ return observable; |
{ | ||
"name": "applesauce-core", | ||
"version": "0.0.0-next-20250213170222", | ||
"version": "0.0.0-next-20250213173056", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
196661