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