Subject: | Doesn't handle signals |
$ perl -MIO::Async::Loop::Mojo -E'my $loop = IO::Async::Loop::Mojo->new; $loop->watch_signal(INT => sub { say "Got SIGINT" }); $loop->run'
^C^C^C^C
As compared
$ perl -MIO::Async::Loop::Epoll -E'my $loop = IO::Async::Loop::Epoll->new; $loop->watch_signal(INT => sub { say "Got SIGINT" }); $loop->run'
^CGot SIGINT
^CGot SIGINT
^CGot SIGINT
^CGot SIGINT
--
Paul Evans