public function __construct($duration)
public function __construct($duration)
Parameters
| $duration |
Return
| this | //Implicit.// |
public function getDuration()
public function getDuration()
Return
| wild |
Allows tasks to yield to other tasks.
If a worker throws this exception while processing a task, the task will be pushed toward the back of the queue and tried again later.
| $duration |
| this | //Implicit.// |
| wild |