class FutureClose
A future returned from Session::closeAsync()
.
Implements
Methods
null
get
(mixed
$timeout )
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 |
int |double
|
A timeout in seconds |
Type | Details |
---|---|
Exception\InvalidArgumentException |
|
Exception\TimeoutException |
Type | Details |
---|---|
null |
Nothing |