@xaccefy/pi-shared0.9.4
Shared utilities for XPI packages — bounded TTL/LRU cache with singleflight, abortable sleep
Untested on omp
This is a pi package. No one has reported whether it works on omp yet. If you try it, add your result below.
Reports 0
No reports yet.
Readme
pi-shared
Internal shared utilities for XPI packages. Not intended for direct consumption.
Exports
TtlLruCache<T>— bounded TTL + LRU cache with singleflight coalescing.abortableSleep(ms, signal?)— sleep that rejects on abort.
Usage
import { TtlLruCache } from "@xaccefy/pi-shared";