NAME
Linux::Event::Fork::Request - A queued spawn request when max_children is reached
SYNOPSIS
my $h = $loop->fork(...);
if ($h->isa('Linux::Event::Fork::Request')) {
$h->cancel; # prevent it from ever starting
}
DESCRIPTION
When max_children is enabled and the limit is reached, Fork enqueues the spawn request and returns a Request object. Requests are started FIFO as capacity frees.
METHODS
cancel
Cancels a queued request (if it has not yet started). Returns true on first cancel.
started
True once the request has been started.
child
Returns the Linux::Event::Fork::Child handle after the request starts.
tag / data
Metadata copied from the original spawn request.
AUTHOR
Joshua S. Day (HAX)
LICENSE
Same terms as Perl itself.