DR-Tarantool
view release on metacpan or search on metacpan
lib/DR/Tarantool/AsyncClient.pm view on Meta::CPAN
208209210211212213214215216217218219220221222223224225226227228
);
}
else
{
$cb
->(
'ok'
,
$res
->{tuples},
$res
->{code} );
}
return
;
}
=head1 Worker methods
All methods accept callbacks which are invoked with the following arguments:
=over
=item status
On success, this field has value 'B<ok>'. The value
of this parameter determines the contents of the rest of the callback
arguments.
=item a tuple or tuples or an error code
lib/DR/Tarantool/MsgPack/AsyncClient.pm view on Meta::CPAN
144145146147148149150151152153154155156157158159160161162163164
unless
(@{
$res
->{DATA} }) {
$cb
->(
ok
=>
undef
,
$res
->{CODE});
return
;
}
$cb
->(
ok
=> DR::Tarantool::Tuple->new(
$res
->{DATA}),
$res
->{CODE});
return
;
}
=head1 Worker methods
All methods accept callbacks which are invoked with the following
arguments:
=over
=item status
On success, this field has value 'ok'. The value of this parameter
determines the contents of the rest of the callback arguments.
=item a tuple or tuples or an error code
( run in 0.264 second using v1.01-cache-2.11-cpan-c6e0e5ac2a7 )