1 # void pq\Connection::listenAsync(string $channel, callable $listener)
3 [Asynchronously](pq/Connection/: Asynchronous Usage) start listening on $channel for notifcations.
4 See pq\Connection::listen().
9 The channel to listen on.
10 * callable $listener as function(string $channel, string $message, int $pid)
11 A callback automatically called whenever a notification on $channel arrives.
15 * pq\Exception\InvalidArgumentException
16 * pq\Exception\BadMethodCallException
17 * pq\Exception\RuntimeException