Definition at line 32 of file UpdateCheckTask.php.
◆ __construct()
pocketmine\updater\UpdateCheckTask::__construct |
( |
UpdateChecker | $updater, |
|
|
private string | $endpoint, |
|
|
private string | $channel ) |
◆ cancelRun()
pocketmine\scheduler\AsyncTask::cancelRun |
( |
| ) |
|
|
inherited |
◆ checkProgressUpdates()
pocketmine\scheduler\AsyncTask::checkProgressUpdates |
( |
| ) |
|
|
inherited |
◆ fetchLocal()
pocketmine\scheduler\AsyncTask::fetchLocal |
( |
string | $key | ) |
|
|
protectedinherited |
Retrieves data stored in thread-local storage.
If you used storeLocal(), you can use this on the same thread to fetch data stored. This should be used during onProgressUpdate() and onCompletion() to fetch thread-local data stored on the parent thread.
- Returns
- mixed
- Exceptions
-
InvalidArgumentException if no data were stored by this AsyncTask instance.
Definition at line 228 of file AsyncTask.php.
◆ getResult()
pocketmine\scheduler\AsyncTask::getResult |
( |
| ) |
|
|
inherited |
◆ hasCancelledRun()
pocketmine\scheduler\AsyncTask::hasCancelledRun |
( |
| ) |
|
|
inherited |
◆ hasResult()
pocketmine\scheduler\AsyncTask::hasResult |
( |
| ) |
|
|
inherited |
◆ isCrashed()
pocketmine\scheduler\AsyncTask::isCrashed |
( |
| ) |
|
|
inherited |
◆ isFinished()
pocketmine\scheduler\AsyncTask::isFinished |
( |
| ) |
|
|
inherited |
Returns whether this task has finished executing, whether successfully or not. This differs from isRunning() because it is not true prior to task execution.
Definition at line 98 of file AsyncTask.php.
◆ isSubmitted()
pocketmine\scheduler\AsyncTask::isSubmitted |
( |
| ) |
|
|
inherited |
◆ onCompletion()
pocketmine\updater\UpdateCheckTask::onCompletion |
( |
| ) |
|
◆ onError()
pocketmine\scheduler\AsyncTask::onError |
( |
| ) |
|
|
inherited |
◆ onProgressUpdate()
pocketmine\scheduler\AsyncTask::onProgressUpdate |
( |
| $progress | ) |
|
|
inherited |
◆ onRun()
pocketmine\updater\UpdateCheckTask::onRun |
( |
| ) |
|
◆ publishProgress()
pocketmine\scheduler\AsyncTask::publishProgress |
( |
mixed | $progress | ) |
|
|
inherited |
◆ reallyDestruct()
pocketmine\scheduler\AsyncTask::reallyDestruct |
( |
| ) |
|
|
protectedinherited |
Override this to do normal __destruct() cleanup from a child class.
Definition at line 245 of file AsyncTask.php.
◆ run()
pocketmine\scheduler\AsyncTask::run |
( |
| ) |
|
|
inherited |
◆ setResult()
pocketmine\scheduler\AsyncTask::setResult |
( |
mixed | $result | ) |
|
|
inherited |
◆ setSubmitted()
pocketmine\scheduler\AsyncTask::setSubmitted |
( |
| ) |
|
|
inherited |
◆ storeLocal()
pocketmine\scheduler\AsyncTask::storeLocal |
( |
string | $key, |
|
|
mixed | $complexData ) |
|
protectedinherited |
The documentation for this class was generated from the following file: