*/ interface SelectorStrategyInterface extends PhpSerializable { /** * @param QueueInterface[] $queues * @return null|TaskInterface */ public function pickNextTask(array $queues); /** * A time in seconds for the worker to wait if there is no task. * * @return int */ public function getWaitTime(); }