class FutureClose
A future returned from Session::closeAsync()
.
Implements
Methods
mixed
get
(float
$timeout = null )
Waits for a given future resource to resolve and throws errors if any.
A future returned from Session::closeAsync()
.
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 |