Hyperspace, a couple of facilities on top of Zinc HTTP Components reached it's v2.2.0 version.
Non breaking changes
- Add
HTTPClientError>>-
- Add
HTTPServerError
exception - Add extensions to
ZnClient
setLogLevelAtLeastTo:
logLevel
setIfNoneMatchTo:
resetRequest
- Add extensions to
ZnSingleThreadedServer
setLogLevelAtLeastTo:
logLevel
- Add
Retry
, one of the resilience operations that repeat failed executions a number of times. - #### Configuration Options
#upTo: retryCount
: The maximum number of retries. Defaults to 2.#every: duration
: Wait a time duration between retry attempts. By default don't wait.#when: condition
: Evaluate the condition with the current execution result, if met retry the execution.#on: exceptionSelector
: Retry the execution if an exception handled byexceptionSelector
is raised.#ignore: exceptionSelector
: Scope the previous method ignoring the exceptions that can be handled byexceptionSelector
.
- #### Usage
Retry value: [ ""operation to execute"" ] configuredBy: [:retry | ""configuration options"" ]
Regards,
The Buenos Aires Smalltalk team