interface IndexAwareQueue

Methods

Job|null
pop(UnitEnum|string|null $queue = null, int $index = 0)

Pop the next job using its position in the worker's queue priority list.

Details

at line 14
Job|null pop(UnitEnum|string|null $queue = null, int $index = 0)

Pop the next job using its position in the worker's queue priority list.

Parameters

UnitEnum|string|null $queue
int $index

Return Value

Job|null