NAME
Perinci::Sub::Property::timeout - Specify function execution time limit
VERSION
version 0.06
SYNOPSIS
# in function metadata
timeout => 5,
DESCRIPTION
This property specifies function execution time limit, in seconds. The
default is 0, which means unlimited.
This property's wrapper implementation uses "alarm()" ("ualarm()"
replacement, for subsecond granularity, will be considered upon demand).
If limit is reached, a 504 (timeout) status is returned.
SEE ALSO
Perinci
HOMEPAGE
Please visit the project's homepage at
<https://metacpan.org/release/Perinci-Sub-Property-timeout>.
SOURCE
Source repository is at
<https://github.com/sharyanto/perl-Perinci-Sub-Property-timeout>.
BUGS
Please report any bugs or feature requests on the bugtracker website
<https://rt.cpan.org/Public/Dist/Display.html?Name=Perinci-Sub-Property-
timeout>
When submitting a bug or request, please include a test-file or a patch
to an existing test-file that illustrates the bug or desired feature.
AUTHOR
Steven Haryanto <stevenharyanto@gmail.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 by Steven Haryanto.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.