isaacs / inflight-DEPRECATED-DO-NOT-USE

Add callbacks to requests in flight to avoid async duplication

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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