Skip to main content
Indexing operations are asynchronous. When you send a request to add or update records, Algolia queues the operation and returns a taskID in the response. The task runs separately, depending on the server load. This helper method polls the Check task status API and stops if the task’s status is published.

Usage

Parameters

string
required
Index name where the task was executed.
long
required
Task ID to wait for.
int
default:50
Maximum number of retries for checking the status.
Func<int,int>
Returns a timeout based on the current number of iterations.
RequestOptions
Additional request options.
CancellationToken
default:"default"
Parameter that can be used as a signal to cancel this request.
Last modified on March 11, 2026