The containing class is available as Async\Semaphore in the www repository.
Async\Semaphore
Produce a Tout from a Tin, respecting the concurrency limit
Tout
Tin
public function waitForAsync( Tin $value, ): Awaitable<Tout>;
Tin $value
Awaitable<Tout>