AbortablePromiseCache

JSON →
library 1.5.0 ·javascript
verified Jun 7, 2026

Adds AbortController/AbortSignal semantics to a cache of async requests. v1.5.0 is stable, low release cadence. Differentiates from simple promise caches by allowing per-request abort signals and automatically aborting/cancelling fill requests when all consumers abort. Works with any backing cache implementing get/set/delete/keys. Requires Node >=6.