NAME

Continual::Process::Loop::AnyEvent - loop with AnyEvent support

SYNOPSIS

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

my $tick = AnyEvent->timer(
    interval => 10,
    cb       => sub {
        say 'Tick each 10s';
    }
);

my $cv = AnyEvent->condvar();
$cv->recv;

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

Jan Seidl <seidl@avast.com>