Файл: vendor/laravel/framework/src/Illuminate/Contracts/Concurrency/Driver.php
Строк: 33
<?php
namespace IlluminateContractsConcurrency;
use CarbonCarbonInterval;
use Closure;
use IlluminateSupportDeferDeferredCallback;
interface Driver
{
/**
* Run the given tasks concurrently and return an array containing the results.
*/
public function run(Closure|array $tasks, CarbonInterval|int|null $timeout = null): array;
/**
* Defer the execution of the given tasks.
*/
public function defer(Closure|array $tasks): DeferredCallback;
}