PHP Interface Cassandra\Future

See also: Cluster::connectAsync()
See also: Session::executeAsync()
See also: Session::prepareAsync()
See also: Session::closeAsync()
Show file Open project: datastax/php-driver

Public Methods

Method Description
get ( float | null $timeout = null ) : mixed Waits for a given future resource to resolve and throws errors if any.

Method Details

get() public method

Waits for a given future resource to resolve and throws errors if any.
public get ( float | null $timeout = null ) : mixed
$timeout float | null
return mixed a value that the future has been resolved with