I don't want to put sleep everywhere, I don't think this issue should be solved on my side. If that happens because of async IRC nature, then IRC::Client should have a configurable delay between the messages. If it is an issue with .print in IO::Socket::Async not doing it sequentially, then it's just a bug that has to be fixed.
Example: https://irclog.perlgeek.de/perl6/2016-11-25#i_13629624
Adding a very small delay solves the problem (example in Bisectable).
I don't want to put
sleep
everywhere, I don't think this issue should be solved on my side. If that happens because of async IRC nature, then IRC::Client should have a configurable delay between the messages. If it is an issue with .print in IO::Socket::Async not doing it sequentially, then it's just a bug that has to be fixed.