aster&service=github' alt='Coverage Status' /></a>
=head1 SYNOPSIS
A simple event that updates JSON data from a website using a shared scalar
variable, while allowing the main application to contin
= Async::Event::Interval->new(2, \&callback);
my $json = $event->shared_scalar;
$event->start;
while (1) {
print "$$json\n";
#... do other things
$event->rest
art if $event->error;
}
sub callback {
$$json = ...; # Fetch JSON from website
}
=head1 DESCRIPTION
Very basic implementation of asynchronous events triggered by a timed interva