8000 82 new function retry function by SanderDevisscher · Pull Request #92 · inbo/fistools · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Dismiss alert

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

Open
wants to merge 34 commits into
base: main
Choose a base branch
from

Conversation

SanderDevisscher
Copy link
Collaborator

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.

@SanderDevisscher SanderDevisscher self-assigned this Oct 11, 2024
@SanderDevisscher SanderDevisscher added Function Issue related to a function New Nieuwe functie/data labels Oct 11, 2024
Copy link
Collaborator
@soriadelva soriadelva left a 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.

@SanderDevisscher SanderDevisscher marked this pull request as draft July 4, 2025 13:08
@SanderDevisscher SanderDevisscher marked this pull request as ready for review July 4, 2025 13:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Function Issue related to a function New Nieuwe functie/data
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[NEW function] retry_function
2 participants
0