Aaron Piotrowski

Results 148 comments of Aaron Piotrowski

Amp v2's [postgres package](https://github.com/amphp/postgres) supports listening and notifying that is entirely async. `pg_get_notify` is used in the watcher callback that is only invoked when data is available (never blocks). The...

@codeliner Yes, the watcher callback is only invoked when the connection associated with that watcher has data available. This is done by creating the watcher using the stream socket resource...

So far I've not found this to be necessary. Cancelling insert/update/delete queries isn't very practical. Unbuffered select queries can be effectively cancelled by not consuming the entire result set. There...

I understand there may be some advantage, particular with buffered select queries. I would be open to implementing this in the future, but first will require some investigation as the...

Please run `composer update` to update to the latest Amp dependency betas and try again. There is a possibility the problem was fixed in `amphp/parallel` but was untagged.

Hi @programarivm! `Amp\ByteStream\buffer()` waits until the stream has closed to return the buffered content. Are you expecting `$socket` to have closed after the response is received? If not, rather than...

Closed via https://github.com/amphp/parallel/commit/75853e1623efa5aa5e65e986ec9a97db573a5267

I believe this question has been answered, so I'm closing it. Please open a new issue if you have any further questions. 👍

Apologies this issue did not receive any attention when it was posted. As this issue is old, I'm closing it. Please open another issue if you're still interested in assistance...

My apologies that this got forgotten about for so long. So long in fact that #154 was also submitted and I just merged it before reviewing the other open PRs!...