Recommend this page to a friend! |
Download .zip |
Info | Example | View files (7) | Download .zip | Reputation | Support forum (1) | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 195 This week: 1 | All time: 8,524 This week: 560 |
Version | License | PHP version | Categories | |||
async 1.0 | MIT/X Consortium ... | 5 | PHP 5, Language |
Description | Author | |
This class can run code asynchronously using the PHP program. |
<?php |
Well its basically "exec" with serialised closure. "Dressed" in nice libs like symfony process and console. I serialise callable function and sent to child process by exec. To get callback I register shutdown function and wait for process to finish.
Sure take a look - https://github.com/krowinski/async/blob/master/example/example.php
NO.
Files |
File | Role | Description | ||
---|---|---|---|---|
bin (1 file) | ||||
example (1 file) | ||||
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files | / | src | / | Async |
File | Role | Description |
---|---|---|
AsyncCall.php | Class | Class source |
AsyncChildCommand.php | Class | Class source |
AsyncChildResponse.php | Class | Class source |
Version Control | Unique User Downloads | Download Rankings | |||||||||||||||
100% |
|
|
Applications that use this package |
If you know an application of this package, send a message to the author to add a link here.