1 # Promise pq\Query\AsyncExecutor::execute(pq\Query\WriterInterface $query, callable $callback)
3 Execute the query asynchronously and let the callback process the result on resolve.
6 This asynchronous executor implementation depends on [React/Promise](https://github.com/reactphp/promise).
10 * pq\Query\Writer $query
13 The result processing callback as function(pq\Result $result)
17 * mixed, the return value of the callback.