async icon indicating copy to clipboard operation
async copied to clipboard

Easily run code asynchronously

Results 24 async issues
Sort by recently updated
recently updated
newest added

Added a `memoryEfficient()` mode, when `true`, it omit storing `$this->results` and `$this->finished` after processing tasks. I think this mode can be beneficial since in many case, we don't need to...

Laravel and all dependencies of the latest version. PHP 8.1 Valet `Pool::isSupported()` return true ``` echo exec("/opt/homebrew/Cellar/[email protected]/8.1.24/bin/php -v"); // with Zend OPcache v8.1.24, Copyright (c), by Zend Technologies echo shell_exec("/opt/homebrew/Cellar/[email protected]/8.1.24/bin/php...

The pcntl signal handling is not working in PHP Version 8.1.24. I don't know what is planned in future PHP versions but I would recommend to change the following line...

Asynchronous processes currently spawn with PHP's default memory limit (whatever's configured in php.ini). In my case, I increase this limit as needed in certain scripts using ini_set. This lead to...

Hi. I was experimenting with Spatie/Async and I was able to have it working on a Symfony console Command. But if I grab the same code, adapt it and to...

Using the code from the documentation, I get the warning `PHP Warning: Failed to set memory limit to 0 bytes (Current memory usage is 2097152 bytes) in Unknown on line...

In `ParallelProcess` in `getOutput()` is checked if the `unserialize` is successful. When it fails, is sets the `errorOutput` to the process output. https://github.com/spatie/async/blob/c270e692f6eabafb4312e1ecd44e062032785635/src/Process/ParallelProcess.php#L71-L75 But this is not validated anymore because...

I'm using cloudways and it's returning `true` which is wrong . on my local (mac), it's fine ```php class MyTask extends \Spatie\Async\Task { public function configure() { /** @var Application...

in Laravel, I created a Task but it seems I can't get the returned data from the `run` method inside a Task class. the `$output` returns `false` ```php class MyTask...