call method
Pass batch
as a callback to execute the batch.
batch
をコールバックとして渡しバッチを実行します。
Implementation
FutureOr<void> call(
FutureOr<void> Function(
ModelBatchRef ref,
DocumentBase<T> doc,
) batch,
) {
return document.modelQuery.adapter.runBatch(
(ref) {
return batch(ref, document);
},
splitLength,
);
}