omp packages

@xaccefy/pi-shared0.9.4

Shared utilities for XPI packages — bounded TTL/LRU cache with singleflight, abortable sleep

xaccefy Published 2 months ago MIT ~389 downloads/mo

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.

Did it work for you?

Result

One report per person. A new report replaces your old one.

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";