Resilience4j TimeLimiter is a lightweight fault tolerance module for limiting the duration of calls in Java 8+ applications.
<dependency>
<groupId>io.github.resilience4j</groupId>
<artifactId>resilience4j-timelimiter</artifactId>
<version>2.4.0</version>
</dependency>No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Create a TimeLimiter with a 2-second timeout and execute a future supplier.
Wrap synchronous calls in CompletableFuture.supplyAsync() before using TimeLimiter.
No dependency data recorded yet.