Frends.Utilities.Sleep / 2.0.0
Summary
Waits for a given duration, and cancels cleanly if the Process is stopped rather than blocking until the delay expires.
Typical use — spacing out polling attempts, and backing off before a retry against a rate-limited service
2.0.02026-11-03
Changed
- Added a required
Optionsparameter withThrowErrorOnFailureandErrorMessageOnFailurefor error handling. - Breaking Replaced the
SleepResultresult property withSuccessand added anErrorproperty that is populated when the Task fails andThrowErrorOnFailureis false. - Updated the Task to target .NET 8.
1.0.02022-09-06
Added
- Initial implementation