Skip to content

Commit

Permalink
withUnlimitedConcurrency()
Browse files Browse the repository at this point in the history
  • Loading branch information
fluentfuture committed Dec 22, 2024
1 parent 5d1dedc commit ab24fb2
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions mug/src/main/java/com/google/mu/util/concurrent/Fanout.java
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,10 @@
* <p>Any exception thrown by any of the concurrent operation will cancel all the other pending
* operations and propagate back to the main thread.
*
* <p>If the main thread is interrupted (when you use {@code concurrently()} to allow interruption),
* pending and currently running operations are canceled and the main thread will throw the
* unchecked {@link StructuredConcurrencyInterruptedException}. For example:
* <p>If the main thread is interrupted, pending and currently running operations are canceled and
* the main thread will throw the unchecked {@link StructuredConcurrencyInterruptedException}.
*
* <p>For example:
*
* <pre>{@code
* import static com.google.mu.util.concurrent.Fanout.concurrently;
Expand Down

0 comments on commit ab24fb2

Please # to comment.