MR-Tarantool

 view release on metacpan or  search on metacpan

lib/MR/IProto/Connection/Async.pm  view on Meta::CPAN

}

around _choose_sync => sub {
    my ($orig, $self) = @_;
    my $sync;
    my $callbacks = $self->_callbacks;
    for( 1 .. 50 ) {
        $sync = $self->$orig();
        return $sync unless exists $callbacks->{$sync};
    }
    die "Can't choose sync value after 50 iterations";
};

sub Close { die "This is not what should be done" }

=back

=head1 SEE ALSO

L<MR::IProto::Connection>, L<MR::IProto::Cluster::Server>.



( run in 0.668 second using v1.01-cache-2.11-cpan-71847e10f99 )