void
pq\Query\AsyncExecutor::setCallbacks(callable
$init, callable
$done, callable
$then)Set the callbacks the asynchronous executor should use to resolve the result. See pq\Query\AsyncExecutor for examples.
callable
$init#callable
$done#callable
$then#callable
$cb#).