AnyEvent-Task

 view release on metacpan or  search on metacpan

Changes  view on Meta::CPAN

  * Lots more/better docs, including for error handling/logging

0.700   2013-02-27
  * 2 tests were missing from manifest
  * License and github meta info
  * Diagnostics and timeout bump in test to debug some
    cpan-tester environments
  * Remove MYMETA files from distribution
  * Bugfix: Worker was using default JSON::XS settings instead
    of utf-8 mode
  * Add unicode test
  * Document error handling with Callback::Frame
  * Remove scary "the api might change" warning. I think we're
    pretty much stable now
  * Misc doc edits

0.602   2012-12-13
  * Exceptions in setup callback are now propagated to client
  * Minor doc updates (more coming)

0.601   2012-10-31

t/args.t  view on Meta::CPAN

{
  $client->checkout->(1, [2], { three => 3, λ => '𝇚' }, sub {
    my ($checkout, $ret) = @_;

    ok(!$@, 'no error set');
    is(@$ret, 3);
    is($ret->[0], 1);
    is($ret->[1]->[0], 2);
    is(ref($ret->[2]), 'HASH');
    is($ret->[2]->{three}, 3);
    is(ord($ret->[2]->{λ}), 0x1D1DA, 'unicode character round-tripped ok');
  });

  $client->checkout->some_method(1, sub {
    my ($checkout, $ret) = @_;

    ok(!$@, 'no error set 2');
    ok(@$ret == 2);
    ok($ret->[0] eq 'some_method');
    ok($ret->[1] == 1);
  });



( run in 1.120 second using v1.01-cache-2.11-cpan-88abd93f124 )