A future returned from Session::prepareAsync() This future will resolve with a Dse\PreparedStatement or an exception.

See Also:

Implements

Methods

Dse\PreparedStatement

get

( mixed $timeout )

Waits for a given future resource to resolve and throws errors if any.

Parameters:
Name Type Details
$timeout int|double

A timeout in seconds

Throws:
Type Details
Exception\InvalidArgumentException
Exception\TimeoutException
Returns:
Type Details
Dse\PreparedStatement

A prepared statement