You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Whether ornot we should wait until every `batch` tasks has been processed, this operation may slow the total execution time of this method but is more reliable.
154
154
*/
155
155
waitForTasks?: boolean;
156
-
157
-
/**
158
-
* The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
159
-
*/
160
-
batchSize?: number;
161
156
}
162
157
163
158
export type ReplaceAllObjectsOptions = {
@@ -170,6 +165,11 @@ export type ReplaceAllObjectsOptions = {
170
165
* The array of `objects` to store in the given Algolia `indexName`.
171
166
*/
172
167
objects: Array<Record<string, any>>;
168
+
169
+
/**
170
+
* The size of the chunk of `objects`. The number of `batch` calls will be equal to `length(objects) / batchSize`. Defaults to 1000.
0 commit comments