forked from miyagawa/AnyEvent-Redis
-
Notifications
You must be signed in to change notification settings - Fork 1
Asynchronous Redis client
acme/AnyEvent-Redis
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
NAME AnyEvent::Redis - Non-blocking Redis client SYNOPSIS use AnyEvent::Redis; my $redis = AnyEvent::Redis->new( host => '127.0.0.1', port => 6379, on_error => sub { warn @_ }, ); # callback based $redis->set( 'foo'=> 'bar', sub { warn "SET!" } ); $redis->get( 'foo', sub { my $value = shift } ); $redis->lpush( $key, $value ); $redis->lpop( $key, sub { my $value = shift }); # condvar based my $cv = $redis->lpop( $key ); $cv->cb(sub { my $value = $_[0]->recv }); DESCRIPTION AnyEvent::Redis is a non-blocking Redis client using AnyEvent. AUTHOR Tatsuhiko Miyagawa <[email protected]> LICENSE This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself. SEE ALSO Redis AnyEvent
About
Asynchronous Redis client
Resources
Stars
Watchers
Forks
Packages 0
No packages published
Languages
- Perl 100.0%