NAME
Linux::Event - Front door for the Linux::Event ecosystem
SYNOPSIS
use v5.36;
use Linux::Event;
my $loop = Linux::Event->new( backend => 'epoll' );
# Timers use seconds (float allowed)
$loop->after(0.100, sub ($loop) {
say "tick";
$loop->stop;
});
$loop->run;
DESCRIPTION
Linux::Event is a Linux-focused event loop ecosystem. This distribution currently provides:
Linux::Event::Loop - policy layer: clock + scheduling + timer rearm
Linux::Event::Backend - backend boundary
Linux::Event::Backend::Epoll - epoll mechanism backend
Linux::Event::Scheduler - deadline scheduler (nanoseconds internally)
Linux::Event::Watcher - mutable watcher handle returned by the loop
This is an early development release.
STATUS
EXPERIMENTAL / WORK IN PROGRESS
The API is not yet considered stable and may change without notice. This release is intended for early testing and feedback and is not recommended for production use.
REPOSITORY
The project repository is hosted on GitHub:
https://github.com/haxmeister/perl-linux-event
SEE ALSO
Linux::Event::Loop, Linux::Event::Watcher, Linux::Event::Backend, Linux::Event::Scheduler