NAME
EntityModel::EventLoop - not an event loop
VERSION
version 0.001
DESCRIPTION
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.
defer
Defers execution of the given code block.
Instance method which expects a single coderef as parameter.
sleep
Runs the given code block after an interval.
Instance method which expects an interval (in seconds) and a single coderef.
SEE ALSO
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
AUTHOR
Tom Molesworth <cpan@entitymodel.com>
LICENSE
Copyright Tom Molesworth 2011-2012. Licensed under the same terms as Perl itself.