Recommend this page to a friend! |
Download |
Info | Example | Files | Install with Composer | Download | Reputation | Support forum | Blog | Links |
Ratings | Unique User Downloads | Download Rankings | ||||
Not enough user ratings | Total: 197 | All time: 8,512 This week: 78 |
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 (7) |
File | Role | Description | ||
---|---|---|---|---|
bin (1 file) | ||||
example (1 file) | ||||
src (1 directory) | ||||
composer.json | Data | Auxiliary data | ||
README.md | Doc. | Documentation |
Files (7) | / | src | / | Async |
File | Role | Description |
---|---|---|
AsyncCall.php | Class | Class source |
AsyncChildCommand.php | Class | Class source |
AsyncChildResponse.php | Class | Class source |
The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page. |
Install with Composer |
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.