internal Task ExecuteHelperAsync(CancellationToken cancellationToken) { MultiBatchWrite multiBatchWrite = new MultiBatchWrite { Batches = Batches }; return(multiBatchWrite.WriteItemsAsync(cancellationToken)); }
internal void ExecuteHelper() { MultiBatchWrite multiBatchWrite = new MultiBatchWrite { Batches = Batches }; multiBatchWrite.WriteItems(); }
internal void ExecuteHelper(bool isAsync) { MultiBatchWrite multiBatchWrite = new MultiBatchWrite { Batches = Batches }; multiBatchWrite.WriteItems(isAsync); }
internal Task ExecuteHelperAsync(CancellationToken cancellationToken) { MultiBatchWrite multiBatchWrite = new MultiBatchWrite { Batches = new List <DocumentBatchWrite> { this } }; return(multiBatchWrite.WriteItemsAsync(cancellationToken)); }
internal void ExecuteHelper() { MultiBatchWrite multiBatchWrite = new MultiBatchWrite { Batches = new List <DocumentBatchWrite> { this } }; multiBatchWrite.WriteItems(); }