npm/inflight

Add callbacks to requests in flight to avoid async duplication

76

stars

35

commits

May 23, 2024

updated

npm-cli

README

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.

Contributors

isaacs

17 commits

othiym23

3 commits

phated

3 commits

npm/inflight

Add callbacks to requests in flight to avoid async duplication

76

stars

35

commits

May 23, 2024

updated

npm-cli

README

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.

Contributors

isaacs

17 commits

othiym23

3 commits

phated

3 commits