Perinci::Sub::Property::timeout - Specify function execution time limit
This document describes version 0.08 of Perinci::Sub::Property::timeout (from Perl distribution Perinci-Sub-Property-timeout), released on 2016-05-11.
# in function metadata timeout => 5,
This property specifies function execution time limit, in seconds. The default is 0, which means unlimited.
This property's wrapper implementation uses
ualarm() replacement, for subsecond granularity, will be considered upon demand). If limit is reached, a 504 (timeout) status is returned.
Please visit the project's homepage at https://metacpan.org/release/Perinci-Sub-Property-timeout.
Source repository is at https://github.com/perlancar/perl-Perinci-Sub-Property-timeout.
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.
This software is copyright (c) 2016 by email@example.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.