Continual::Process::Loop::Mojo - loop with Mojo::IOLoop support
my $loop = Continual::Process::Loop::Mojo->new( instances => [ Continual::Process::Instance->new(...), ] ); Mojo::IOLoop->recurrent( 10 => sub { say 'Tick each 10s' } ); $loop->run();
This is implementation of Continual::Process::Loop with Mojo::IOLoop.
It is useful if you use other Mojo::IOLoop events in loop.
This module is really EXPERIMENTAL, for example die is not catched yet.
die
All methods inherit from Continual::Process::Loop.
Copyright (C) Avast Software.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Jan Seidl <seidl@avast.com>
To install Continual::Process, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Continual::Process
CPAN shell
perl -MCPAN -e shell install Continual::Process
For more information on module installation, please visit the detailed CPAN module installation guide.