HH\Asio\join

Wait for a given Awaitable to finish and return its result

Description

namespace HH\Asio;

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

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

Parameters