in reply to Re^3: Net::Async::WebSocket::Server in a separate main loop
in thread Net::Async::WebSocket::Server in a separate main loop

If you tell AnyEvent and Mojo to use the same event library (like EV) then they are compatible. Make sure you have libev installed and that Mojo::Reactor::EV works. Maybe set MOJO_REACTOR to convince it to work: BEGIN { $ENV{MOJO_REACTOR} = 'Mojo::Reactor::EV'; }

Also, I see Mojo::RabbitMQ::Client. No experience with it, but you might try that first.

Replies are listed 'Best First'.
Re^5: Net::Async::WebSocket::Server in a separate main loop
by alexander_lunev (Pilgrim) on Jan 13, 2023 at 19:15 UTC

    Thank you for this short and clear answer! I'll give it a try.

    As for Mojo::RabbitMQ::Client, after I read kraih (one of Mojolicious creator) comments in github issues for this project, I'm kind of stopped looking at it.