AnyEven...l::Irssi(3)
πΈ NAME πΈ
okay bestie, welcome to AnyEvent::Impl::Irssi β AnyEvent adaptor for Irssi. This is the AnyEven...l::Irssi(3) page from the User Contributed Perl Documentation situation, and we're gonna make it make sense. π
β¨ SYNOPSIS β¨
use AnyEvent;
# this module gets loaded automatically when running under irssi
π DESCRIPTION π
So this module gives transparent support for AnyEvent under Irssi. You literally don't have to do anything to make Irssi scripts work with AnyEvent. It just... handles it. Slay. β¨
π§ Limitations + implementation details π§
- This backend does not support blocking waits. That means you must set a callback on any condvars, or otherwise make sure to never call
recvon a condvar that hasn't been signalled yet. No blocking bestie, periodt. - Child exits will be handled by AnyEvent. AnyEvent will take over child handling, because Irssi only polls for children
once/secondand cannot handle unspecific child watchers. This should have no negative effect, as AnyEvent will emit apidwaitsignal just like irssi itself would. Cute. - Artificial timer delays. Irssi artificially enforces timers to have at least a
10msdelay (by croaking, even). That means some applications will be limited to a rate of100Hz(for example,Coro::AnyEventthread scheduling). The vibe check says slow down. π’ - Irssi leaks memory like hell. Yeah. π
Apart from that, documentation is notoriously wrong (e.g. file handles are not supported by input_add, contrary to documentation), hooking into irssi has to be done in... weird... ways, but otherwise, Irssi is surprisingly full-featured (for basically being a hack). Honestly iconic for a hack. π«Ά
π SEE ALSO π
AnyEvent, Irssi.
π AUTHOR π
Marc Lehmann <schmorp@schmorp.de>http://anyevent.schmorp.de
made with perl v5.42.0 energy, dated 2019-09-18, and yep this is the AnyEven...l::Irssi(3) page π
π
π¦ where this page comes from
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- opensuse-leap 16.0: perl-AnyEvent 7.17-160000.2.2 Β· GPL-1.0-or-later OR Artistic-1.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms