DR-Tarantool

 view release on metacpan or  search on metacpan

lib/DR/Tarantool/AsyncClient.pm  view on Meta::CPAN

208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
        );
    } 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

144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
    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 )