Make a supply of the results of Promises
Switch branches/tags
Nothing to show
Latest commit a883089 Dec 9, 2016 @jonathanstowe Add another example
Failed to load latest commit information.
example Add another example Dec 8, 2016
lib coerce the Promise Dec 8, 2016
t Had omitted the plan Dec 7, 2016
.gitignore Add gitignore Nov 23, 2016
.travis.yml Add travis config Dec 7, 2016
LICENCE Add the LICENCE Nov 23, 2016
META6.json Add META6 Dec 7, 2016 Add travis badge Dec 7, 2016


Make a supply of the results of Promises

Build Status


A different version of the old 'sleep sort'

use Manifesto;

my $manifesto =;

for (^10).pick(*).map( -> $i {$i + 0.5).then({ $i })}) -> $p {

my $channel =;

react {
    whenever $manifesto -> $v {
        $channel.send: $v;
    whenever $manifesto.empty {

say $channel.list;


This manages a collection of Promise objects and provides a Supply of the result of the kept Promises.

This is useful to aggregate a number of Promises to a single stream of results, which may then be used in, a react or supply block or otherwise tapped.


Assuming you have a working installation of Rakudo perl 6 installed with either zef or panda you should be able to do either:

zef install Manifesto


panda install Manifesto

Other equally capable installers may become available in the future.


This is so simple I'm not sure there is much scope for many bugs, but if you have any questions, suggestions, patches or whatever please send them via GitHub

Copyright and Licence

© Jonathan Stowe 2016

This is free software, the terms are described in the LICENCE file in this repository.