set_pre_timeout_handler

function set_pre_timeout_handler(
  int $seconds,
  (function(HH\Awaitable<mixed>): void) $callback,
): void;

Parameters

  • int $seconds
  • (function(HH\Awaitable<mixed>): void) $callback

Returns

  • void