Skip to content

A tiny library for retrying failing operations based on igorw/retry.

License

Notifications You must be signed in to change notification settings

memdevs/attempt

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This package will attempt to execute a function (closure or callable) until a set number of attempts have been made.

It will intercept exceptions (and store them for reporting) and enables you to have significant control over how the function is handled during error conditions.

It's great for access to remote URLs or databases where you risk experiencing failures.

Note, it relies on exceptions to detect "failure" which will cause another attempt.

For further information, please see the "examples" folder.

More info will come later.

About

A tiny library for retrying failing operations based on igorw/retry.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages