EntityModel::EventLoop - not an event loop
version 0.001
Abstract framework for attaching event loops to EntityModel.
This abstract class definition is implemented by various subclasses ("SEE ALSO"). Normally none of these modules would be used directly: other classes such as the EntityModel::Storage-derived async storage backends will use them to obtain the relevant event loop object or to queue tasks using whichever event loop happens to be available.
Note that this is not an event loop implementation - if you're looking for one of those, there are many options available: try POE or IO::Async perhaps.
Defers execution of the given code block.
Instance method which expects a single coderef as parameter.
Runs the given code block after an interval.
Instance method which expects an interval (in seconds) and a single coderef.
EntityModel - cross-language ORM
EntityModel::EventLoop::IO::Async - implementation using IO::Async
EntityModel::EventLoop::POE - implementation using POE
EntityModel::EventLoop::AnyEvent - implementation using AnyEvent
EntityModel::EventLoop::Mojo::IOLoop - implementation using the Mojo::IOLoop from Mojolicious
Tom Molesworth <cpan@entitymodel.com>
Copyright Tom Molesworth 2011-2012. Licensed under the same terms as Perl itself.
To install EntityModel::EventLoop, copy and paste the appropriate command in to your terminal.
cpanm
cpanm EntityModel::EventLoop
CPAN shell
perl -MCPAN -e shell install EntityModel::EventLoop
For more information on module installation, please visit the detailed CPAN module installation guide.