NAME
App::Multigit::Future - Futures for App::Multigit
DESCRIPTION
Extensio of IO::Async::Future with a few extra methods.
METHODS
finally
Like followed_by, but unpacks the Future and calls done on the result.
As documented in run, all operations complete with the same data structure. This is also true when a command fails to run.
This is therefore a convenience method that runs the subref with the %data structure, irrespective of whether the preceding steps caused a failure or not.
my $final_f = mg_each(sub {
    my $repo = shift;
    $repo->run([qw/ git command that might fail /])
        ->finally($repo->curry::report);
});