HH\Lib\Async\Semaphore::waitForAsync

Meta Engineer?

The containing class is available as Async\Semaphore in the www repository.

Produce a Tout from a Tin, respecting the concurrency limit

public function waitForAsync(
  Tin $value,
): Awaitable<Tout>;

Parameters

  • Tin $value

Returns