AlgoliaSearch\Index::getTaskStatus PHP 메소드

getTaskStatus() 공개 메소드

All server task are asynchronous and you can check with this method that the task is published or not.
public getTaskStatus ( string $taskID ) : mixed
$taskID string the id of the task returned by server
리턴 mixed
    public function getTaskStatus($taskID)
    {
        return $this->client->request($this->context, 'GET', '/1/indexes/' . $this->urlIndexName . '/task/' . $taskID, null, null, $this->context->readHostsArray, $this->context->connectTimeout, $this->context->readTimeout);
    }