NAME
EntityModel::EventLoop::Perl - basic Perl implementation for EntityModel 'event loop'
VERSION
version 0.001
DESCRIPTION
Used only for testing in the absence of a real event loop.
METHODS
defer
'Defers' execution of the given codeblock. Actually does nothing of the sort, it just runs the code immediately.
sleep
Runs the given code block after an interval. Blocks execution until the timer expires.
Instance method which expects an interval (in seconds) and a single coderef.
SEE ALSO
EntityModel - cross-language ORM
EntityModel::EventLoop::IO::Async - an implementation using a real event loop.
AUTHOR
Tom Molesworth <cpan@entitymodel.com>
LICENSE
Copyright Tom Molesworth 2011-2012. Licensed under the same terms as Perl itself.