pocketmine\scheduler\AsyncTask::getFromThreadStore PHP Метод

getFromThreadStore() публичный Метод

You have to initialize this in some way from the task on run
public getFromThreadStore ( string $identifier ) : mixed
$identifier string
Результат mixed
    public function getFromThreadStore($identifier)
    {
        global $store;
        return $this->isGarbage() ? null : $store[$identifier];
    }