NAME

Langertha::Role::Runnable - Common async execution contract for Raider and Raid nodes

VERSION

version 0.305

SYNOPSIS

package My::Runnable;
use Moose;
use Future::AsyncAwait;
with 'Langertha::Role::Runnable';

async sub run_f {
  my ( $self, $ctx ) = @_;
  ...
}

DESCRIPTION

Minimal execution contract shared by Langertha::Raider and orchestration nodes under Langertha::Raid. Consumers must implement run_f($ctx).

run_f

my $result = await $node->run_f($ctx);

Required method. Executes the runnable node with a context and returns a Future that resolves to a result object.

SUPPORT

Issues

Please report bugs and feature requests on GitHub at https://github.com/Getty/langertha/issues.

CONTRIBUTING

Contributions are welcome! Please fork the repository and submit a pull request.

AUTHOR

Torsten Raudssus <torsten@raudssus.de> https://raudss.us/

COPYRIGHT AND LICENSE

This software is copyright (c) 2026 by Torsten Raudssus.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.