| 1 | Source: libfuture-perl |
| 2 | Standards-Version: 4.7.2 |
| 3 | Maintainer: Debian Perl Group <[email protected]> |
| 4 | Uploaders: |
| 5 | gregor herrmann <[email protected]>, |
| 6 | Section: perl |
| 7 | Testsuite: autopkgtest-pkg-perl |
| 8 | Build-Depends: |
| 9 | debhelper-compat (= 13), |
| 10 | libmodule-build-perl, |
| 11 | Build-Depends-Indep: |
| 12 | libfuture-asyncawait-perl <!nocheck>, |
| 13 | libfuture-xs-perl <!nocheck>, |
| 14 | libscalar-list-utils-perl <!nocheck>, |
| 15 | libtest2-suite-perl (>= 0.000148) <!nocheck>, |
| 16 | perl, |
| 17 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libfuture-perl |
| 18 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libfuture-perl.git |
| 19 | Homepage: https://metacpan.org/release/Future |
| 20 | |
| 21 | Package: libfuture-perl |
| 22 | Architecture: all |
| 23 | Multi-Arch: foreign |
| 24 | Depends: |
| 25 | ${misc:Depends}, |
| 26 | ${perl:Depends}, |
| 27 | libscalar-list-utils-perl, |
| 28 | Recommends: |
| 29 | libfuture-xs-perl, |
| 30 | Description: module for operations awaiting completion |
| 31 | A Future object represents an operation that is currently in progress, or |
| 32 | has recently completed. It can be used in a variety of ways to manage the |
| 33 | flow of control, and data, through an asynchronous program. |
| 34 | . |
| 35 | Some futures represent a single operation and are explicitly marked as ready |
| 36 | by calling the done or fail methods. These are called "leaf" futures here, |
| 37 | and are returned by the new constructor. |
| 38 | . |
| 39 | Other futures represent a collection sub-tasks, and are implicitly marked as |
| 40 | ready depending on the readiness of their component futures as required. |
| 41 | These are called "dependent" futures here, and are returned by the various |
| 42 | wait_* and need_* constructors. |
| 43 | . |
| 44 | It is intended that library functions that perform asynchronous operations |
| 45 | would use Future objects to represent outstanding operations, and allow their |
| 46 | calling programs to control or wait for these operations to complete. The |
| 47 | implementation and the user of such an interface would typically make use of |
| 48 | different methods on the class. The methods below are documented in two |
| 49 | sections; those of interest to each side of the interface. |