Skip to content
This repository was 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

8bb32a9 · May 23, 2024

History

38 Commits
May 23, 2024

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

Packages

No packages published