perl-Future-AsyncAwait - deferred subroutine syntax for futures

Property Value
Distribution ALT Linux Sisyphus
Repository Autoimports x86_64
Package filename perl-Future-AsyncAwait-0.20-alt1.1.x86_64.rpm
Package name perl-Future-AsyncAwait
Package version 0.20
Package release alt1.1
Package architecture x86_64
Package type rpm
Category Development/Perl
Homepage -
License -
Maintainer -
Download size 77.48 KB
Installed size 77.48 KB
use Future::AsyncAwait;
async sub do_a_thing
my $first = await do_first_thing();
my $second = await do_second_thing();
return combine_things( $first, $second );
This module provides syntax for deferring and resuming subroutines while
waiting for the Future manpages to complete.
WARNING: The actual semantics in this module are not yet implemented. This
is released purely to demonstrate the syntax parts of its operation, to
reserve the name on CPAN, and to provide something that actually exists in
order to look at it. Don't expect to be able to use this module in any real
code yet.
That said, the only part that isn't actually implemented currently is the part
that suspends and resumes subroutines while waiting for a future to complete.
The syntax parsing, as well as semantics for immediate futures, are already
defined and working now. So it is already very slightly useful for writing
simple functions that return immediate futures.
Instead of writing
sub foo
return Future->done( @result );
you can now simply write
async sub
return @result;
with the added side-benefit that any exceptions thrown by the elided code will
be turned into an immediate-failed `Future' rather than making the call
itself propagate the exception, which is usually what you wanted when dealing
with futures.


Package Version Architecture Repository
perl-Future-AsyncAwait-0.20-alt1.1.i586.rpm 0.20 i586 Autoimports
perl-Future-AsyncAwait - - -


Name Value
/usr/lib64/perl5 - - - - - - -
perl( -
perl( -
rpmlib(PayloadIsLzma) -
rpmlib(SetVersions) -
rtld(GNU_HASH) -


Name Value
perl(Future/ = 0.200
perl-Future-AsyncAwait = 0.20-alt1.1


Type URL
Binary Package perl-Future-AsyncAwait-0.20-alt1.1.x86_64.rpm
Source Package perl-Future-AsyncAwait-0.20-alt1.1.src.rpm

Install Howto

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



See Also

Package Description
perl-GD-Chart-0.05-alt4.1.x86_64.rpm perl module GD-Chart
perl-GD-Image-CopyIFS-0.25-alt4.1.x86_64.rpm fractal-based image copying and resizing
perl-GIS-Distance-Fast-0.14-alt1.x86_64.rpm C implementation of GIS::Distance formulas
perl-GO-TermFinder-0.86-alt6_10.x86_64.rpm Identify GO nodes that annotate a group of genes with a significant p-value
perl-GRID-Cluster-0.04-alt4.1.x86_64.rpm Virtual clusters using SSH links
perl-GRID-Machine-0.127-alt4.1.x86_64.rpm Remote Procedure Calls over a SSH link
perl-GRID-Machine-scripts-0.127-alt4.1.x86_64.rpm GRID-Machine scripts
perl-GTop-0.18-alt10_27.x86_64.rpm Perl interface to libgtop
perl-Games-Cards-Poker-1.4-alt2.1.x86_64.rpm perl module Games-Cards-Poker
perl-Games-EternalLands-0.04-alt4.1.x86_64.rpm perl module Games-EternalLands
perl-Games-EternalLands-Binary-Float16-0.01-alt4.1.x86_64.rpm 16-bit floats as used by Eternal Lands
perl-Games-EternalLands-Binary-Unitvec16-0.01-alt4.1.x86_64.rpm 16-bit quantized unit vectors as used by Eternal Lands
perl-Games-Go-GMP-0.01-alt4.1.x86_64.rpm perl module Games-Go-GMP
perl-Games-Hack-Live-0.62-alt4.1.x86_64.rpm Perl script to ease playing games
perl-Games-Hack-Live-scripts-0.62-alt4.1.x86_64.rpm Games-Hack-Live scripts