
POE::Component::DirWatch::Role::AIO - Make poll calls asynchronous

POE::Component::DirWatch::Role::AIO adds support for non-blocking polling operations using POE::Component::AIO to interface with IO::AIO.
The POE::Component::AIO object is stored in the aio attribute,
so you can access it in your own applications.

A read-only instance of POE::Component::AIO that is automatically created at instantiation time.

after '_start' Create the aio_callback event and event handler.
around '_poll' Replaces the original _poll method with one that reads the contents of the target directory asynchronously.
The original sub is never called.

POE::Component::DirWatch, Moose

Copyright 2006-2008 Guillermo Roditi. This is free software; you may redistribute it and/or modify it under the same terms as Perl itself.