xbox_set_thread_timeout

Sets the timeout (maximum duration), in seconds, of the current xbox thread

function xbox_set_thread_timeout(
  int $timeout,
): void;

The xbox thread would reset when this amount of time has passed since the previous reset. Throws for non-xbox threads.

Parameters

  • int $timeout - The new timeout (maximum duration).