Meilisearch PHP | Documentation

HandlesTasks

Table of Contents

Properties

$tasks  : Tasks

Methods

cancelTasks()  : array<string|int, mixed>
deleteTasks()  : array<string|int, mixed>
getTask()  : array<string|int, mixed>
getTasks()  : TasksResults
waitForTask()  : array<string|int, mixed>
waitForTasks()  : array<string|int, mixed>

Properties

Methods

getTask()

public getTask(mixed $uid) : array<string|int, mixed>
Parameters
$uid : mixed
Return values
array<string|int, mixed>

waitForTask()

public waitForTask(mixed $uid[, int $timeoutInMs = 5000 ][, int $intervalInMs = 50 ]) : array<string|int, mixed>
Parameters
$uid : mixed
$timeoutInMs : int = 5000
$intervalInMs : int = 50
Tags
throws
TimeOutException
Return values
array<string|int, mixed>

waitForTasks()

public waitForTasks(mixed $uids[, int $timeoutInMs = 5000 ][, int $intervalInMs = 50 ]) : array<string|int, mixed>
Parameters
$uids : mixed
$timeoutInMs : int = 5000
$intervalInMs : int = 50
Tags
throws
TimeOutException
Return values
array<string|int, mixed>

        
On this page

Search results