jchip

jchip/xflight

Handle inflight promise to avoid async duplication

TypeScript
0
0
Other

`xflight` is a lightweight Node.js utility designed to prevent redundant async operations by sharing inflight promises for the same key, making it ideal for avoiding duplicate network or resource-intensive calls. It tracks start and check times for inflight items, cleans up after promise resolution or rejection, and offers a simple API for managing concurrent requests. This tool is particularly useful for developers working on Node.js applications that require efficient handling of asynchronous operations, such as API calls or database queries.

Total donated
Undistributed
Share with your subscribers:

Recipients

How the donated funds are distributed

Support the dependencies of jchip/xflight

Account's avatar
NodeJS Require that let you handle module not found error without try/catch
Account's avatar
TypeScript definitions for node
Account's avatar
V8 coverage provider for Vitest
Account's avatar
concurrent or serial run npm scripts, javascript tasks, and more
Account's avatar
TypeScript is a language for application scale JavaScript development
Account's avatar
Next generation testing framework powered by Vite

Top contributors

jchip's profile
jchip
9 contributions

Recent events

Kivach works on the Obyte network, and therefore you can track all donations.

No events yet