TaskHandler: mark some public methods as @internal (#5310)

closes #5309
This commit is contained in:
DHJ1 2022-09-27 19:17:29 +03:00 committed by GitHub
parent 2db3498891
commit dec188d4ad
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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