aboutsummaryrefslogtreecommitdiff
path: root/devel/p5-Async-MergePoint/pkg-descr
blob: 4201c0417485faf47719fb991243e275921760cc (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Often in program logic, multiple different steps need to be taken that
are independent of each other, but their total result is needed before
the next step can be taken.  In synchronous code, the usual approach is
to perform them sequentially.

An asynchronous or event-based program could do this, but if each step
involves some I/O idle time, better overall performance can often be
gained by running the steps in parallel.  Async::MergePoint object can
then be used to wait for all of the steps to complete, before passing
the combined result of each step on to the next stage.

This module was originally part of the IO::Async distribution, but was
removed under the inspiration of Pedro Melo's Async::Hooks distribution,
because it does not itself contain anything I/O-specific.

WWW: https://metacpan.org/release/Async-MergePoint