Bio::BioVeL::AsynchronousService::Mock - example asynchronous service
This dummy service runs the 'sleep' shell command for the provided number of seconds, then returns with a simple text message.
The constructor defines a single object property: the number of seconds the service should sleep for.
Runs the shell's sleep command to demonstrate asynchronous operation. Updates the status as needed to indicate success or failure.
sleep
Returns a simple text string that specifies how long the process has slept for.
To install Bio::BioVeL, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Bio::BioVeL
CPAN shell
perl -MCPAN -e shell install Bio::BioVeL
For more information on module installation, please visit the detailed CPAN module installation guide.