Releases
4.0
This update mainly focuses on extensive functional enhancements and optimizations to the Retry
decorator.
The Retry
decorator now subtracts the runtime of the program from the interval time before each retry.
The Retry
decorator by removing the type conversion for parameters count
and sleep
.
The Retry
decorator adds a retry mechanism based on total execution time. #1
The Retry
decorator adds a retry mechanism based on external event. #2
The Retry
decorator Adds a retry mechanism based on exception message. #3
Completely remove the deprecated decorators TryExceptAsync
and RetryAsync
.
Add more detailed descriptions of internal exceptions.
Refactor module descriptions and update the readme file.
此次更新主要对 Retry
装饰器进行了大量的功能增强和优化改动。
Retry
装饰器现在会在每次重试时,从间隔时间中减去程序的运行时间。
Retry
装饰器中移除对参数 count
和 sleep
的类型转换,若类型错误将直接抛出异常。
Retry
装饰器中添加基于总执行时间的重试机制。 #1
Retry
装饰器中添加基于外部条件(或事件)的重试机制。 #2
Retry
装饰器中添加基于异常消息的重试机制。 #3
彻底移除已弃用的装饰器 TryExceptAsync
和 RetryAsync
。
增加更详细的内部异常描述。
重构模块描述,更新自述文件,确保准确反映当前功能和用途。
You can’t perform that action at this time.