1AIO(3) User Contributed Perl Documentation AIO(3)
2
3
4
6 AnyEvent::AIO - truly asynchronous file and directory I/O
7
9 use AnyEvent::AIO;
10 use IO::AIO;
11
12 # can now use any of the aio requests your IO::AIO module supports
13 # as long as you use an event loop supported by AnyEvent.
14
16 This module is an AnyEvent user, you need to make sure that you use and
17 run a supported event loop.
18
19 Loading this module will install the necessary magic to seamlessly
20 integrate IO::AIO into AnyEvent, i.e. you no longer need to concern
21 yourself with calling "IO::AIO::poll_cb" or any of that stuff (you
22 still can, but this module will do it in case you don't).
23
24 The AnyEvent watcher can be disabled by executing undef
25 $AnyEvent::AIO::WATCHER. Please notify the author of when and why you
26 think this was necessary.
27
29 AnyEvent, Coro::AIO (for a more natural syntax).
30
32 Marc Lehmann <schmorp@schmorp.de>
33 http://home.schmorp.de/
34
35
36
37perl v5.38.0 2023-07-20 AIO(3)