Temporize, Promise-aware debounce and throttle for TypeScript

작성자

카테고리:

← 피드로
DEV Community · nyvexis1 · 2026-08-02 개발(SW)
Cover image for Temporize, Promise-aware debounce and throttle for TypeScript

nyvexis1

I built Temporize because traditional debounce/throttle utilities don’t compose particularly well with async TypeScript.
Every scheduled call returns a real Promise with inferred arguments and return types. It also supports AbortSignal, cancellation, flushing, async overlap policies, FIFO rate limiting, batching, retries, concurrency limits, and optional React/Vue adapters.
The package has zero runtime dependencies and ships ESM and CommonJS
npm: https://www.npmjs.com/package/@alsoftworks/temporize
GitHub: https://github.com/nyvexis1/temporize
Feedback on the API and async cancellation semantics would be especially useful.

원문에서 계속 ↗

코멘트

답글 남기기

이메일 주소는 공개되지 않습니다. 필수 필드는 *로 표시됩니다