5use ILIAS\BackgroundTasks\Implementation\Bucket\BucketMock;
62 sleep(self::SLEEP_SECONDS);
64 sleep(self::SLEEP_SECONDS);
66 sleep(self::SLEEP_SECONDS);
68 sleep(self::SLEEP_SECONDS);
72 $output->setValue($a->getValue() + $b->getValue());
An exception for terminatinating execution or to throw for unit testing.
__construct()
PlusJob constructor.
getExpectedTimeOfTaskInSeconds()
int the amount of seconds this task usually taskes. If your task-duration scales with the the amount ...
notifyPercentage(Task $task, $percentage)
You can change the progress of a currently running task.
run(array $input, Observer $observer)