41 $this->bucket->heartbeat();
42 $this->bucket->setState($state);
47 $this->bucket->heartbeat();
48 $this->bucket->setPercentage($task, $percentage);
53 $this->bucket->heartbeat();
54 $this->bucket->setCurrentTask($task);
63 $this->bucket->heartbeat();
Class NonPersistingObserver.
notifyPercentage(Task $task, int $percentage)
You can change the progress of a currently running task.
notifyCurrentTask(Task $task)
If the current task changes notify the observer.
heartbeat()
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat.
__construct(protected Bucket $bucket)
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...
This file is part of ILIAS, a powerful learning management system published by ILIAS open source e-Le...