It would be a good feature to know when the handler was run last time with a specific workload. Example: I want to calculate values foreach User which logged in since the handler was called last time. I would change the handlerinterface in this case to this: ``` public function handle($workload, \DateTime $lastRunTime = null) ```
Activity
wachterjohannes commentedon Jan 20, 2016
you could put this into the workload? because you have to save the information into the task-storage
alexander-schranz commentedon Jan 20, 2016
the
nexttask is not written by the handler and the handler cant manipulate this.wachterjohannes commentedon Jan 20, 2016
hmm maybe a task should have a link to the previous one if exists and that should be handled by the scheduler maybe?