notifyPercentage(Task $task, $percentage)
You can change the progress of a currently running task.
heartbeat()
I'm still alive! If your calculation takes a really long time don't forget to use the heartbeat...
notifyState($state)
If the bucket goes into another state notify the observer.
notifyCurrentTask(Task $task)
If the current task changes notify the observer.