NAME
Continual::Process::Loop - base class for loop
DESCRIPTION
Base class for implementing loops.
METHODS
new(%attributes)
%attributes
instances
ArrayRef of instances - default is empty ([]
)
interval
interval of alive checking
default is 1sec
on_interval
CodeRef which is called each check interval
default is disabled
add($instance)
add $instance
(instance of Continual::Process::Instance) to loop
run()
start this 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>