HH\Asio\has_finished

Description

function HH\Asio\has_finished(
  Awaitable<T> $awaitable,
): bool

Check whether the given Awaitable has finished.

Parameters

  • Awaitable<T> $awaitable