Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagejava
Instant deadline = Instant.now().plusSeconds(30);
try (ExecutorService executor = Executors.newUnboundedExecutornewUnboundedVirtualThreadExecutor(factory).withDeadline(deadline)) {
    :
}

...