AsyncSemaphoreUtils constructor

AsyncSemaphoreUtils(
  1. int permits
)

Creates a semaphore allowing at most permits concurrent acquisitions. Audited: 2026-06-12 11:26 EDT

Implementation

AsyncSemaphoreUtils(this.permits) : _available = permits;