ProcessDriver
class ProcessDriver implements Driver (View source)
Methods
array
run(Closure|array $tasks)
Run the given tasks concurrently and return an array containing the results.
defer(Closure|array $tasks)
Start the given tasks in the background after the current task has finished.
Details
__construct(Factory $processFactory)
Create a new process based concurrency driver.
array
run(Closure|array $tasks)
Run the given tasks concurrently and return an array containing the results.
DeferredCallback
defer(Closure|array $tasks)
Start the given tasks in the background after the current task has finished.