HH\Asio\WrappedResult::__construct

Instantiate a WrappedResult

Description

public function __construct(
  T $result,
);

Normally, you will not instantiate a WrappedResult directly, but rather have one returned back to you on a call to wrap() if the operation succeeded.

Parameters

  • $result - The result of the Awaitable operation.