You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the Retry docs following returns a CheckedFunction0, but in reality it returns a CheckedSupplier, which Try.of does not consume: CheckedFunction0<String> retryableSupplier = Retry.decorateCheckedSupplier(retry, helloWorldService::sayHelloWorld);
By looking around I found the resilience4j-vavr maven dependency, which contains VavrRetry.decorateCheckedSupplier.
Resilience4j version: 2.0.0+
Java version: 17
In the Retry docs following returns a CheckedFunction0, but in reality it returns a CheckedSupplier, which Try.of does not consume:
CheckedFunction0<String> retryableSupplier = Retry.decorateCheckedSupplier(retry, helloWorldService::sayHelloWorld);
By looking around I found the resilience4j-vavr maven dependency, which contains VavrRetry.decorateCheckedSupplier.
https://resilience4j.readme.io/v2.0.0/docs/retry
The text was updated successfully, but these errors were encountered: