xbox_task_result

Description

function xbox_task_result(
  resource $task,
  int $timeout_ms,
  mixed &$ret,
): int

Block and wait for xbox task's result.

Parameters

  • resource $task - The xbox task object created by xbox_task_start().
  • int $timeout_ms - How many milli-seconds to wait.
  • mixed &$ret - xbox message processing function's return value.

Return Values

  • int - - Response code following HTTP's responses. For example, 200 for success and 500 for server error.