Function / DSL for retries #37
Closed
MariusStorhaug
started this conversation in
Ideas
Replies: 1 comment
-
Opened a repo for this: PSModule/Retry |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Function could be called Invoke-RetryableBlock, take [int] $Retries, [?]$WaitTime (should take a RFC8601 timespan where you can define retries as 15s, 3m, 5h or a combination.
Insiration:
https://blog.danskingdom.com/A-PowerShell-function-to-easily-retry-any-code/
Beta Was this translation helpful? Give feedback.
All reactions