-
Notifications
You must be signed in to change notification settings - Fork 0
82 new function retry function #92
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
…nbo/fistools into 82-new-function-retry_function
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The function works but throws this warning message:
Warning messages: 1: In eval(expr) : restarting interrupted promise evaluation
. This seems to be the result of re-evaluating a function that was already evaluated before. I would suggest adding some logic that prevents this warning from popping-up as it is inherent to this function and will otherwise pop up everytime the function is retried.
fixes #82 by creating a function that allows the user to attempt a function x times. Useful when reading data from the web where temporary outages may cause errors.