HH\Asio\ResultOrExceptionWrapper::isSucceeded

Indicates whether the Awaitable associated with this wrapper exited normally.

Description

public function isSucceeded(): bool

Indicates whether the Awaitable associated with this wrapper exited normally.

If isSucceeded() returns true, isFailed() returns false.

Return Values

  • bool - true if the Awaitable succeeded; false otherwise.