class FutureException
A future that always resolves in an exception.
Implements
Methods
mixed
get
(float
$timeout = null )
Waits for a given future resource to resolve and throws errors if any.
A future that always resolves in an exception.
Waits for a given future resource to resolve and throws errors if any.
Name | Type | Details |
---|---|---|
$timeout | float |
Type | Details |
---|---|
Exception\InvalidArgumentException |
|
Exception\TimeoutException |
Type | Details |
---|---|
mixed |
a value that the future has been resolved with |