Merge branch 'next-minor' into next-major

This commit is contained in:
Dylan K. Taylor
2022-09-28 01:06:11 +01:00
8 changed files with 107 additions and 11 deletions

View File

@ -59,6 +59,9 @@ class TaskHandler{
return $this->nextRun;
}
/**
* @internal
*/
public function setNextRun(int $ticks) : void{
$this->nextRun = $ticks;
}
@ -93,11 +96,17 @@ class TaskHandler{
}
}
/**
* @internal
*/
public function remove() : void{
$this->cancelled = true;
$this->task->setHandler(null);
}
/**
* @internal
*/
public function run() : void{
$this->timings->startTiming();
try{