Download the PHP package madnh/task_waiter without Composer
On this page you can find all versions of the php package madnh/task_waiter. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download madnh/task_waiter
More information about madnh/task_waiter
Files in madnh/task_waiter
Download madnh/task_waiter
More information about madnh/task_waiter
Files in madnh/task_waiter
Vendor madnh
Package task_waiter
Short Description Waiting for a task in other php process complete
License MIT
Package task_waiter
Short Description Waiting for a task in other php process complete
License MIT
Please rate this library. Is it a good library?
Informations about the package task_waiter
Task Waiter
This class help to detect tasks in multiple simultaneous processes were completed or not.
Install
Composer
Properties
- static::$savePath: place to save task files
Methods
- static::start(
$taskName
): start a task, other comming php process will hold until this task is complete or current process finished. - static::isWorking(
$taskName
): check if a task is running in any of process. - static::complete(
$taskName
): set status of a task is complete. Other processes can continue their business.
Example
Run below example in multiple command prompts
All versions of task_waiter with dependencies
PHP Build Version
Package Version
No informations.
The package madnh/task_waiter contains the following files
Loading the files please wait ....