servicetalk-concurrent-test-internal/src/main/java/io/servicetalk/concurrent/test/internal/AwaitUtils.java
/**
     * Await a {@link CountDownLatch} until the latch is counted down, throws unchecked InterruptedException.
     * @param latch the {@link CountDownLatch} to await.
     */
Await a  CountDownLatch until the latch is counted down, throws unchecked InterruptedException.
@param latch the  CountDownLatch to await.
Await a CountDownLatch until the latch is counted down throws unchecked InterruptedException . @param latch the CountDownLatch to await .
public static void await(CountDownLatch latch) {
        try {
            latch.await();
        } catch (InterruptedException e) {
            Thread.currentThread().interrupt();
            throwException(e);
        }
    }
public static void await ( CountDownLatch latch ) { try { latch . await ( ) ; } catch ( InterruptedException e ) { Thread . currentThread ( ) . interrupt ( ) ; throwException ( e ) ; } }
Await a {@link CountDownLatch} until the latch is counted down, throws unchecked InterruptedException.
Await a { @link CountDownLatch } until the latch is counted down throws unchecked InterruptedException .