Definition at line 33 of file TaskScheduler.php.
◆ __construct()
pocketmine\scheduler\TaskScheduler::__construct |
( |
private ?string | $owner = null | ) |
|
◆ cancelAllTasks()
pocketmine\scheduler\TaskScheduler::cancelAllTasks |
( |
| ) |
|
◆ isQueued()
pocketmine\scheduler\TaskScheduler::isQueued |
( |
TaskHandler | $task | ) |
|
◆ mainThreadHeartbeat()
pocketmine\scheduler\TaskScheduler::mainThreadHeartbeat |
( |
int | $currentTick | ) |
|
◆ scheduleDelayedRepeatingTask()
pocketmine\scheduler\TaskScheduler::scheduleDelayedRepeatingTask |
( |
Task | $task, |
|
|
int | $delay, |
|
|
int | $period ) |
◆ scheduleDelayedTask()
pocketmine\scheduler\TaskScheduler::scheduleDelayedTask |
( |
Task | $task, |
|
|
int | $delay ) |
◆ scheduleRepeatingTask()
pocketmine\scheduler\TaskScheduler::scheduleRepeatingTask |
( |
Task | $task, |
|
|
int | $period ) |
◆ scheduleTask()
pocketmine\scheduler\TaskScheduler::scheduleTask |
( |
Task | $task | ) |
|
◆ setEnabled()
pocketmine\scheduler\TaskScheduler::setEnabled |
( |
bool | $enabled | ) |
|
◆ shutdown()
pocketmine\scheduler\TaskScheduler::shutdown |
( |
| ) |
|
◆ $currentTick
int pocketmine\scheduler\TaskScheduler::$currentTick = 0 |
|
protected |
◆ $queue
@phpstan-var ReversePriorityQueue<int, TaskHandler>
Definition at line 37 of file TaskScheduler.php.
◆ $tasks
ObjectSet pocketmine\scheduler\TaskScheduler::$tasks |
|
protected |
The documentation for this class was generated from the following file: