From Code to Community: Sponsoring The Perl and Raku Conference 2025 Learn more

NAME

Continual::Process::Loop::Mojo - loop with Mojo::IOLoop support

SYNOPSIS

my $loop = Continual::Process::Loop::Mojo->new(
instances => [
Continual::Process::Instance->new(...),
]
);
Mojo::IOLoop->recurrent(
10 => sub { say 'Tick each 10s' }
);
$loop->run();

DESCRIPTION

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.

METHODS

All methods inherit from Continual::Process::Loop.

LICENSE

Copyright (C) Avast Software.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.

AUTHOR

Jan Seidl <seidl@avast.com>