NAME

Continual::Process::Loop::IOAsync - loop with IO::Async support

SYNOPSIS

   my $loop = IO::Async::Loop->new;

   my $cp_loop = Continual::Process::Loop::IOAsync->new(
       instances => [
           Continual::Process::Instance->new(...),
       ]
   );
   $cp_loop->run();

   $loop->add( $cp_loop->timer );

   my $timer = IO::Async::Timer::Periodic->new(
       interval => 10,

       on_tick => sub {
           say 'Tick each 10s';
       },
   );

   $timer->start;

   $loop->add( $timer );

   $loop->run;

DESCRIPTION

This is implementation of Continual::Process::Loop with AnyEvent.

It is useful if you can use another AnyEvent 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

Konstantin Yakunin <twinhooker@gmail.com>