A function to retry an action on failure with optional cleanup.
Optional
The optional async cleanup to perform after each failure, the result of cleanup will be awaited before retrying.
The number of times to retry the action before failing.
Generated using TypeDoc
A function to retry an action on failure with optional cleanup.