perl-AnyEvent-Callback-0.05-alt1.noarch.rpm


Advertisement

Description

perl-AnyEvent-Callback - callback aggregator for L<AnyEvent> watchers

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-AnyEvent-Callback
Package version 0.05
Package release alt1
Package architecture noarch
Package type rpm
Installed size 7.31 KB
Download size 7.31 KB
Official Mirror ftp.altlinux.org
The module allows You to create callback's hierarchy. Also the module groups.error and result callbacks into one object.
Also the module checks if one callback was called by watcher or not.
If a watcher doesn't call result or error callback, error callback will be
called automatically.
Also the module checks if a callback was called reentrant. In the case the
module will complain (using the carp entry in the Carp manpage).
If a watcher touches error callback and if superior didn't define error
callback, the module will call error callback upwards hierarchy. Example:
AE::something @args, CB \&my_watcher, \&on_error;
sub on_error {
}
sub my_watcher {
my $cb = pop;
...
the_other_watcher $cb->CB( sub { # error callback wasn't defined
my $cb = pop;
...
yet_another_watcher1 $cb->CB( sub {
my $cb = pop;
...
$cb->( 123 );   # upwards callback
});
yet_another_watcher2 $cb->CB( sub {
my $cb = pop;
...
$cb->error( 456 );  # on_error will be called
});
});
}

Alternatives

Package Version Architecture Repository
perl-AnyEvent-Callback - - -

Requires

Name Value
/usr/share/perl5 -
perl(Scalar/Util.pm) -
perl(base.pm) -
perl(overload.pm) -
perl-base >= 1:5.10.1
rpmlib(PayloadIsLzma) -

Provides

Name Value
perl(AnyEvent/Callback.pm) = 0.050
perl-AnyEvent-Callback = 0.05-alt1

Download

Type URL
Binary Package perl-AnyEvent-Callback-0.05-alt1.noarch.rpm
Source Package perl-AnyEvent-Callback-0.05-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    rpm [Sisyphus] http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus noarch autoimports
    
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-AnyEvent-Callback rpm package:
    # sudo apt-get install perl-AnyEvent-Callback

Files

Path
/usr/share/doc/perl-AnyEvent-Callback-0.05/Changes
/usr/share/perl5/AnyEvent/Callback.pm

See Also

Package Description
perl-AnyEvent-CallbackStack-0.12-alt1.noarch.rpm perl module AnyEvent-CallbackStack
perl-AnyEvent-Campfire-Client-0.0.2-alt1.noarch.rpm Campfire API in an event loop
perl-AnyEvent-Campfire-Stream-0.0.3-alt1.noarch.rpm Receive Campfire streaming API in an event loop
perl-AnyEvent-Capture-0.1.1-alt1.noarch.rpm Call asynchronous APIs synchronously
perl-AnyEvent-Chromi-1.01-alt1.noarch.rpm Remotely control Google Chrome from Perl
perl-AnyEvent-ClickHouse-0.031-alt1.noarch.rpm Simple but non-blocking HTTP client for ClickHouse Database
perl-AnyEvent-ConnPool-0.13-alt1.noarch.rpm Connection pool based on AnyEvent
perl-AnyEvent-Connection-0.06-alt1.noarch.rpm Base class for tcp connectful clients
perl-AnyEvent-Connector-0.03-alt1.noarch.rpm tcp_connect with transparent proxy handling
perl-AnyEvent-Consul-0.005-alt1.noarch.rpm Make async calls to Consul via AnyEvent
perl-AnyEvent-Consul-Exec-0.003-alt1.noarch.rpm Execute a remote command across a Consul cluster
perl-AnyEvent-CouchDB-1.31-alt1.noarch.rpm a non-blocking CouchDB client based on jquery.couch.js
perl-AnyEvent-CouchDB-scripts-1.31-alt1.noarch.rpm AnyEvent-CouchDB scripts
perl-AnyEvent-Cron-0.03-alt1.noarch.rpm Crontab in AnyEvent! provide an interface to register event on specified time
perl-AnyEvent-Curl-Multi-1.1-alt1.noarch.rpm perl module AnyEvent-Curl-Multi
Advertisement
Advertisement