Conversation
|
@shandak Output buffering is global, so concurrent output is expected to be "a mess". A better solution would be to write to some kind of |
Agreed, I would not recommend using global output buffering too, but the goal here is to start using 'fibers' with already developed solutions without dramatic changes. For instance, in my case, it sounds almost impossible because Maybe as another solution, it would be better to add event triggers around |
|
Supporting custom hooks for |
|
@shandak This got closed unintentionally without comment when I was renaming some branches. Apparently the As amphp v3 will be using Revolt, I've opened a PR there that would enable the usage you were looking for here: revoltphp/event-loop#2 |
|
That's great news, thank you a lot! |
When several 'async' functions contain something like
It's getting a mess with the result in
$content