Download the PHP package dmamontov/asynctask-7 without Composer
On this page you can find all versions of the php package dmamontov/asynctask-7. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download dmamontov/asynctask-7
More information about dmamontov/asynctask-7
Files in dmamontov/asynctask-7
Package asynctask-7
Short Description AsyncTask enables proper and easy use of the thread. This class allows to perform background operations and publish results on the thread without having to manipulate threads and/or handlers.
License BSD-3-Clause
Homepage https://bringer.pro/
Informations about the package asynctask-7
AsyncTask
AsyncTask enables proper and easy use of the thread. This class allows to perform background operations and publish results on the thread without having to manipulate threads and/or handlers.
The early class implementation supports PHP 5.3, but does not support what is implemented in this class.
Requirements
PHP
version~7.1.0
- Module installed
pcntl
andposix
-
All functions
pcntl
,posix
removed from the directivedisable_functions
SharedMemoryAdapter
:- All functions
shm
removed from the directivedisable_functions
- All functions
Installation
1) Install composer
2) Follow in the project folder:
In config composer.json
your project will be added to the library dmamontov/asynctask-7
, who settled in the folder vendor/
. In the absence of a config file or folder with vendors they will be created.
If before your project is not used composer
, connect the startup file vendors. To do this, enter the code in the project:
Adapter list
SharedMemory
- working- in the processFileSystem
- in the processRedis
Offer adapters that are missing. We develop!
Examples
Example of work
Task Example
Adapter Example
ToDo
- More tests.
- More adapters.
- Class for managing running processes.