Closed Venorcis closed 1 month ago
Looks good. No mutations were possible for these changes. Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.
Looks good. No mutations were possible for these changes. Mutation testing report by Pitest. Review any surviving mutants by inspecting the line comments under Files changed.
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
0.0% Coverage on New Code
0.0% Duplication on New Code
Futures subscribe eagerly. This means that
Mono#fromFuture(CompletableFuture)
already executes the contents of the future on assembly time (even when thatFuture
is constructed from aMono
as we do in our reactive Caffeine caches).I therefore suggest instead to always use
Mono#fromFuture(Supplier)
, which will only instantiate (and thus execute) the future on subscription, i.e. much closer to how we usually do everything 😄