AIO(3pm) | User Contributed Perl Documentation | AIO(3pm) |
AnyEvent::AIO - truly asynchronous file and directory I/O
use AnyEvent::AIO; use IO::AIO; # can now use any of the aio requests your IO::AIO module supports # as long as you use an event loop supported by AnyEvent.
This module is an AnyEvent user, you need to make sure that you use and run a supported event loop.
Loading this module will install the necessary magic to seamlessly integrate IO::AIO into AnyEvent, i.e. you no longer need to concern yourself with calling "IO::AIO::poll_cb" or any of that stuff (you still can, but this module will do it in case you don't).
The AnyEvent watcher can be disabled by executing "undef $AnyEvent::AIO::WATCHER". Please notify the author of when and why you think this was necessary.
AnyEvent, Coro::AIO (for a more natural syntax).
Marc Lehmann <schmorp@schmorp.de> http://home.schmorp.de/
2022-04-16 | perl v5.34.0 |