perl-Async-Chain - The right way to convert nested callback in plain struct

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports noarch
Package name perl-Async-Chain
Package version 0.05
Package release alt1
Package architecture noarch
Package type rpm
Installed size 10.23 KB
Download size 10.23 KB
Official Mirror
Every subroutine in the chain receive callable object as first argument followed
by arguments of object call. You can break chain in every sub, just do not call
You can skip some subroutins using `skip' or `jump' method.
use Async::Chain;
sub {
my next = shift;
AnyEvent::HTTP::http_get('', $next);
sub {
my next = shift;
return $next->jump('log')->(0, "not a 200 response");
$db->async_insert(..., cb => $next);
sub {
my next = shift;
$next->($status, $message);
log => sub {
my next = shift;
my ($status, $message) = @_;


Package Version Architecture Repository
perl-Async-Chain - - -


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


Name Value
perl(Async/ = 0.050
perl-Async-Chain = 0.05-alt1


Type URL
Binary Package perl-Async-Chain-0.05-alt1.noarch.rpm
Source Package perl-Async-Chain-0.05-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-Async-Chain rpm package:
    # sudo apt-get install perl-Async-Chain



See Also

Package Description
perl-Async-ContextSwitcher-0.02-alt1.noarch.rpm helps track execution context in async programs
perl-Async-Defer-1.0.1-alt1.noarch.rpm VM to write and run async code in usual sync-like way
perl-Async-Event-Interval-1.00-alt1.noarch.rpm Extremely simple timed asynchronous events
perl-Async-Group-0.3-alt1.noarch.rpm perl module Async-Group
perl-Async-Hooks-0.16-alt1.noarch.rpm Hook system with asynchronous capabilities
perl-Async-MergePoint-0.04-alt1_16.noarch.rpm Resynchronize diverged control flow
perl-Async-Queue-0.021-alt1.noarch.rpm control concurrency of asynchronous tasks
perl-Async-ResourcePool-0.1.3-alt1.noarch.rpm Resource pooling for asynchronous programs
perl-Async-Selector-1.03-alt1.noarch.rpm level-triggered resource observer like select(2)
perl-Async-Simple-Pool-0.18-alt1.noarch.rpm Simple manager of asyncronous tasks
perl-Async-Stream-0.12-alt1.noarch.rpm it's convenient way to work with async data flow
perl-Async-Util-0.01-alt1.noarch.rpm utilities for doing common async operations
perl-AsyncPing-2016.1207-alt1.noarch.rpm ping a huge number of servers in several seconds
perl-Asynchat-0.01-alt1.noarch.rpm Builds on Asyncore, makes easier to handle client and server asynchronous communication
perl-Asyncore-0.08-alt1.noarch.rpm Basic infrastructure for writing asynchronous socket service