The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

Changes for version 0.40

  • Added IO::Async::FileStream - RT66520
  • Added IO::Async::Stream 'close_on_read_eof' parameter
  • Added IO::Async::Listener 'on_accept_failure' event
  • CHANGES:
    • Allow Loop->listen to be extended via extensions, similar to ->connect
    • Autoflush streams used in Function::Worker objects by default
    • Default Resolver to idle_timeout=30, min_workers=0
  • BUGFIXES:
    • Don't convert method names to CODErefs during _capture_weakself as it breaks dynamic dispatch and code reload - RT65785
    • Only calculate Timer::Periodic's next tick time if it actually has a Loop
    • Put primary GID first in a 'setgroups' list, otherwise some BSDs get upset - RT65127
    • Load getaddrinfo() from Socket or Socket::GetAddrInfo in t/50resolver.t
    • Remove the anonymous Listener from the Loop if Loop->listen fails
    • Supply LocalPort => 0 to IO::Socket::INET constructor explicitly during testing

Modules

Asynchronous event-driven programming
facilitates the execution of child processes
perform non-blocking socket connections
execute code asynchronously in child processes
read the tail of a file
call a function asynchronously
event callbacks for a non-blocking file descriptor
listen on network sockets for incoming connections
core loop of the IO::Async framework
use IO::Async with poll(2)
use IO::Async with select(2)
acceptance testing for IO::Async::Loop subclasses
resynchronise diverged control flow
base class for IO::Async event objects
event callback on exit of a child process
start and manage a child process
base class for transport-based protocols
stream-based protocols using lines of text
base class for stream-based protocols
performing name resolutions asynchronously
handle a serial pipeline of requests / responses (EXPERIMENTAL)
event callback on receipt of a POSIX signal
event callbacks and send buffering for a socket filehandle
event callbacks and write bufering for a stream filehandle
utility functions for use in test scripts
base class for Notifiers that use timed delays
event callback at a fixed future time
event callback after a fixed delay
event callback at regular intervals