HH\Asio\join

Wait for a given Awaitable to finish and return its result

Description

function join<T>(
  Awaitable<T> $awaitable,
): T

Launches a new instance of scheduler to drive asynchronous execution until the provided Awaitable is finished.

Parameters

  • Awaitable<T> $awaitable