© 2026 Hedgehog Software, LLC
Semaphore
CountdownLatch
n
const latch = latch(1); // elsewhere await latch.await(); // elsewhere latch.countDown(); // 👆 this will resolve the promise we `await`