1AnyEvent::Impl::Irssi(3U)ser Contributed Perl DocumentatiAonnyEvent::Impl::Irssi(3)
2
3
4

NAME

6       AnyEvent::Impl::Irssi - AnyEvent adaptor for Irssi
7

SYNOPSIS

9          use AnyEvent;
10
11          # this module gets loaded automatically when running under irssi
12

DESCRIPTION

14       This module provides transparent support for AnyEvent. You don't have
15       to do anything to make Irssi scripts work with AnyEvent.
16
17       Limitations of this backend and implementation details:
18
19       ·   This backend does not support blocking waits.
20
21           That means you must set a callback on any condvars, or otherwise
22           make sure to never call "recv" on a condvar that hasn't been
23           signalled yet.
24
25       ·   Child exits will be handled by AnyEvent.
26
27           AnyEvent will take over child handling, as Irssi only polls for
28           children once/second and cannot handle unspecific child watchers.
29
30           This should have no negative effect, as AnyEvent will emit a
31           pidwait signal just like irssi itself would.
32
33       ·   Artificial timer delays.
34
35           Irssi artificially enforces timers to have at least a 10ms delay
36           (by croaking, even).
37
38           This means that some applications will be limited to a rate of
39           100Hz (for example, Coro::AnyEvent thread scheduling).
40
41       ·   Irssi leaks memory like hell.
42
43           Yeah.
44
45       Apart from that, documentation is notoriously wrong (e.g. file handles
46       are not supported by "input_add", contrary to documentation), hooking
47       into irssi has to be done in... weird... ways, but otherwise, Irssi is
48       surprisingly full-featured (for basically being a hack).
49

SEE ALSO

51       AnyEvent, Irssi.
52

AUTHOR

54        Marc Lehmann <schmorp@schmorp.de>
55        http://anyevent.schmorp.de
56
57
58
59perl v5.32.0                      2020-07-28          AnyEvent::Impl::Irssi(3)
Impressum