Skip to content
This repository has been archived by the owner on May 23, 2024. It is now read-only.

Add callbacks to requests in flight to avoid async duplication

Notifications You must be signed in to change notification settings

isaacs/inflight-DEPRECATED-DO-NOT-USE

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 

Repository files navigation

deprecated

This module is deprecated, and should not be used.

The language provides a lot of options nowadays for managing promises, which are a much better approach than callbacks in this sort of situation.

If you want something that will coalesce async actions for the same key, then the lru-cache module provides this in a much more comprehensive way, using the fetchMethod function.

About

Add callbacks to requests in flight to avoid async duplication

Topics

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published