### ----------------------------------------------------
### -- Test::Async
### -- Licenses: Artistic-2.0
### -- Authors: Vadim Belman <vrurg@cpan.org>
### -- File: examples/TRC2021/workflow-1.raku
### ----------------------------------------------------
use v6;
use Test;

my @p;
for ^3 -> $i {
    @p.push: start {
        throws-like {
            die "oki";
        }, X::AdHoc, "tested $i";
    }
}

await @p;


