Editorial question23.1K views4,003 votes0 answers4,444 following
AI-generatedshareReplay with refCount: stale replay on resubscribe versus leaked subscription — which trade-off for cached HTTP streams?
Integration boundary: Angular HTTP wrapper + RxJS shareReplay I am wrapping HTTP calls in a shared service where multiple components subscribe to the same response stream, and I am using shareReplay to avoid duplicate requests. The documented config-object form, shareReplay({ bufferSize, refCount, windowTime }) , forces a decision I cannot resolve from the d