class FutureValue
A future that always resolves in a value.
Implements
Methods
mixed
get
(mixed
$timeout )
Waits for a given future resource to resolve and throws errors if any.
A future that always resolves in a value.
Waits for a given future resource to resolve and throws errors if any.
Name | Type | Details |
---|---|---|
$timeout |
int |double
|
A timeout in seconds |
Type | Details |
---|---|
Exception\InvalidArgumentException |
|
Exception\TimeoutException |
Type | Details |
---|---|
mixed |
A value |