Future
Future
https://metacpan.org/release/Future
module for operations awaiting completion
A Future object represents an operation that is currently in progress, or has recently completed. It can be used in a variety of ways to manage the flow of control, and data, through an asynchronous program.
Some futures represent a single operation and are explicitly marked as ready by calling the done or fail methods. These are called "leaf" futures here, and are returned by the new constructor.
Other futures represent a collection sub-tasks, and are implicitly marked as ready depending on the readiness of their component futures as required. These are called "dependent" futures here, and are returned by the various wait_* and need_* constructors.
It is intended that library functions that perform asynchonous operations would use Future objects to represent outstanding operations, and allow their calling programs to control or wait for these operations to complete. The implementation and the user of such an interface would typically make use of different methods on the class. The methods below are documented in two sections; those of interest to each side of the interface.
Download
http://ftp.debian.org/debian/pool/main/libf/libfuture-perl/libfuture-perl_0.29.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: gregor herrmann <gregoa@debian.org>
Verified on
19 July 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Paul Evans | contact |
Resources and communication
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.