NAME

Job::Async::Test::Compliance - verify whether a client+worker pair conform to the current API.

SYNOPSIS

use IO::Async::Loop;
use Job::Async::Test::Compliance;
my $loop = IO::Async::Loop->new;
$loop->add(
 my $compliance = Job::Async::Test::Compliance->new
);
eval {
 print "Test result: " . $compliance->test(
  'memory',
  worker => { },
  client => { },
 )->get;
} or do {
 warn "Compliance test failed: $@\n";
};

DESCRIPTION

Provides a compliance test. Might be of use when writing

INHERITED METHODS

IO::Async::Notifier

add_child, adopt_future, adopted_futures, can_event, children, configure, 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 2017. Licensed under the same terms as Perl itself.