Download the PHP package thenlabs/task-loop without Composer
On this page you can find all versions of the php package thenlabs/task-loop. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package task-loop
TaskLoop
A PHP implementation of a bare task loop.
If you like this project gift us a ⭐.
Installation.
$ composer require thenlabs/task-loop
Usage.
The file example.php
contains the below code which show that once the loop is started, it will runs each one of his tasks.
Each loop iteration is executed with a time interval which it's specified with the start()
method.
A task can be a callable
or an object which implements the ThenLabs\TaskLoop\TaskInterface
interface.
That file produce the next result:
Development.
Running the tests.
For run the tests, runs the next command:
$ ./vendor/bin/pyramidal
All versions of task-loop with dependencies
PHP Build Version
Package Version
Requires
symfony/event-dispatcher Version
>=4.4
The package thenlabs/task-loop contains the following files
Loading the files please wait ....