The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Test2::Event::Stamp - Event that records a timestamp for an action.

*** EXPERIMENTAL ***

This distribution is experimental, anything can change at any time!

DESCRIPTION

Not used yet, but will be.

SYNOPSIS

    sub tool {
        my $ctx = context();

        ...
        $ctx->send_event('Stamp', action => 'eat', name => 'food');
        ...

        $ctx->release;
    }

ATTRIBUTES

action (required)

This is the action being stamped.

name

Defaults to 'unknown'

stamp

The timestamp, set for you using Time::HiRes::time().

SOURCE

The source code repository for Test2-Workflow can be found at http://github.com/Test-More/Test2-Workflow/.

MAINTAINERS

Chad Granum <exodist@cpan.org>

AUTHORS

Chad Granum <exodist@cpan.org>

COPYRIGHT

Copyright 2015 Chad Granum <exodist7@gmail.com>.

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

See http://dev.perl.org/licenses/