perl-AnyEvent-Promise - Evented promises

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-AnyEvent-Promise
Package version 0.02
Package release alt1
Package architecture noarch
Package type rpm
Installed size 7.73 KB
Download size 7.73 KB
Official Mirror
the AnyEvent::Promise manpage allows evented interfaces to be chained, taking away some
of the redundancy of layering the AnyEvent manpage condition variable callbacks.
A promise is created using AnyEvent::Promise::new or the exported
the promise entry elsewhere in this document helper function. These will both return a promise instance and add
the callback function as the start of the promise chain. Each call to the then entry elsewhere in this document
on the promise instance will add another subroutine which returns a condition
variable to the chain.
The promise callback chain won't start until the condvar entry elsewhere in this document or the fulfill entry elsewhere in this document is
called on the instance. Calling the condvar entry elsewhere in this document or the cv entry elsewhere in this document will start the callback
chain and return the promise guarding condvar, which is fulfilled after the last
callback on the chain returns. Similarily, the fulfill entry elsewhere in this document will start the chain, but
will block until the guarding condvar is fulfilled.
Errors in the callbacks can be caught by setting an exception handler via the
the catch entry elsewhere in this document method on the promise instance. This method will catch exceptions
raised from the AnyEvent manpage objects and exceptions raised in blocks provided to
the then entry elsewhere in this document. If an error is encountered in the chain, an exception will be thrown
and the rest of the chain will be skipped, jumping straight to the catch


Package Version Architecture Repository
perl-AnyEvent-Promise - - -


Name Value
/usr/share/perl5 -
perl( -
perl(Try/ -
rpmlib(PayloadIsLzma) -


Name Value
perl(AnyEvent/ = 0.020
perl-AnyEvent-Promise = 0.02-alt1


Type URL
Binary Package perl-AnyEvent-Promise-0.02-alt1.noarch.rpm
Source Package perl-AnyEvent-Promise-0.02-alt1.src.rpm

Install Howto

  1. Add the following line to /etc/apt/sources.list:
    rpm [Sisyphus] noarch autoimports
    rpm [Sisyphus] noarch autoimports
  2. Update the package index:
    # sudo apt-get update
  3. Install perl-AnyEvent-Promise rpm package:
    # sudo apt-get install perl-AnyEvent-Promise



See Also

Package Description
perl-AnyEvent-Promises-0.06-alt1.noarch.rpm simple implementation of Promises/A+ spec
perl-AnyEvent-REST-Server-0.05-alt1.noarch.rpm An AnyEvent-based TCP server providing a RESTful interface
perl-AnyEvent-RFXCOM-1.142240-alt1.noarch.rpm Perl modules for RFXCOM RF receivers/transmitters with AnyEvent
perl-AnyEvent-RFXCOM-scripts-1.142240-alt1.noarch.rpm AnyEvent-RFXCOM scripts
perl-AnyEvent-RPC-0.05-alt1.noarch.rpm Abstract framework for Asyncronous RPC clients
perl-AnyEvent-RTPG-0.01-alt1.noarch.rpm A RTPG interface for AE
perl-AnyEvent-RabbitMQ-1.19-alt1.noarch.rpm An asynchronous and multi channel Perl AMQP client
perl-AnyEvent-RabbitMQ-Fork-0.5-alt1.noarch.rpm Run AnyEvent::RabbitMQ inside AnyEvent::Fork(::RPC)
perl-AnyEvent-RabbitMQ-PubSub-3.2.1-alt1.noarch.rpm Publish and consume RabbitMQ messages
perl-AnyEvent-RabbitMQ-RPC-0.5-alt1.noarch.rpm RPC queues via RabbitMQ
perl-AnyEvent-RabbitMQ-Simple-0.02-alt1.noarch.rpm Easy to use asynchronous AMQP client
perl-AnyEvent-Radius-1.1.1-alt2.noarch.rpm modules to implement AnyEvent-based RADIUS client or server
perl-AnyEvent-ReadLine-Gnu-1.1-alt1.noarch.rpm event-based interface to Term::ReadLine::Gnu
perl-AnyEvent-ReadLine-Gnu-scripts-1.1-alt1.noarch.rpm AnyEvent-ReadLine-Gnu scripts
perl-AnyEvent-Redis-0.24-alt1.noarch.rpm Non-blocking Redis client