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

NAME

Job::Async::Client - client API for Job::Async

SYNOPSIS

DESCRIPTION

This is the thing that submits jobs. It sends out a job request which hopefully a worker will pick up and process.

METHODS

id

Returns this client's ID. Although one can be configured specifically, it will default to a random (v4) UUID.

timeout

Timeout to use for any newly-created jobs. No default.

submit

Queue a new job for processing.

Takes zero or more key => value arguments to be used as job parameters.

Returns a Job::Async::Job instance.

INHERITED METHODS

IO::Async::Notifier

add_child, adopt_future, can_event, children, configure_unknown, debug_printf, get_loop, invoke_error, invoke_event, loop, make_event_cb, maybe_invoke_event, maybe_make_event_cb, new, notifier_name, parent, remove_child, remove_from_parent

AUTHOR

Tom Molesworth <TEAM@cpan.org>

LICENSE

Copyright Tom Molesworth 2016-2017. Licensed under the same terms as Perl itself.