MCPcopy Create free account
hub / github.com/apache/arrow / FlushAsync

Method FlushAsync

cpp/src/arrow/filesystem/s3fs.cc:1946–1953  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1944 }
1945
1946 Future<> FlushAsync() {
1947 if (closed_) {
1948 return Status::Invalid("Operation on closed stream");
1949 }
1950 // Wait for background writes to finish
1951 std::unique_lock<std::mutex> lock(upload_state_->mutex);
1952 return upload_state_->pending_uploads_completed;
1953 }
1954
1955 // Upload-related helpers
1956

Callers

nothing calls this directly

Calls 1

InvalidFunction · 0.50

Tested by

no test coverage detected