interface Driver

Methods

array
run(Closure|array $tasks, CarbonInterval|int|null $timeout = null)

Run the given tasks concurrently and return an array containing the results.

defer(Closure|array $tasks)

Defer the execution of the given tasks.

Details

at line 16
array run(Closure|array $tasks, CarbonInterval|int|null $timeout = null)

Run the given tasks concurrently and return an array containing the results.

Parameters

Closure|array $tasks
CarbonInterval|int|null $timeout

Return Value

array

at line 21
DeferredCallback defer(Closure|array $tasks)

Defer the execution of the given tasks.

Parameters

Closure|array $tasks

Return Value

DeferredCallback