HH\asio_get_running_in_context

Get currently running wait handle in a context specified by its index

namespace HH;

function asio_get_running_in_context(
  int $ctx_idx,
): ResumableWaitHandle<mixed>;

Parameters

  • int $ctx_idx

Returns

  • ResumableWaitHandle<mixed>