@toorieaa/retry-promise-mechanism

npm v6.3.1

8 weekly downloads · MIT · 0 Dependencies

No release in 2+ yearsZero dependenciesSingle maintainer

Source data as of:

Summary

Allows you to retry a promise a number of times with a delay and various options. Useful for some mongo applications where you need to create a connection pool but you can't guarantee the database will be up when the express service starts.

Install npm install @toorieaa/retry-promise-mechanism

Registry values

Reproduced verbatim from the official registry, with the source named on each value.

Weekly downloads 8 Source: npm Registry
Releases 58 Last release: 2020-09-14 Source: npm Registry
Dependencies 0 Source: npm Registry

Description

Allows you to retry a promise a number of times with a delay and various options. Useful for some mongo applications where you need to create a connection pool but you can't guarantee the database will be up when the express service starts.

Registry-supplied description, cleaned to plain text. Source: npm Registry.

Package details

Package
@toorieaa/retry-promise-mechanism
Registry
npm
Version
6.3.1
Weekly downloads
8 (weekly)
License
MIT
Dependencies
0
Releases
58
Last release
2020-09-14
First published
2020-09-10
Keywords
set up mongo db database pool async, mongo database pooling, database pooling, mongodb connection manager, failed to connect to mongo db on first connect, lightweight retry library, node express mongodb fetch database pool, async task repeater with callback, retryAll, retry, retry promise, attemptAgain

Why a field shows "—": A dash means the value is not published by the source registry for that package. Quanteta never fills in a guessed value — a missing field stays blank.

Derived indices (computation method published)

Quanteta-computed from the registry values below. This is a derived index, not a measured registry metric. See the formula on the Data & Sources page.

Q-Vitality Quanteta 5.0 / 100 Maintenance activity index (release cadence + download level).
Q-Trust Quanteta 19.6 / 100 Adoption / stability index (community size + download stability + age).
Q-Risk Quanteta 45.7 / 100 Dependency-surface index. Higher = more risk factors detected.

Data & Sources