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

Method is_finished

cpp/src/arrow/util/future.h:333–336  ·  view source on GitHub ↗

\brief Whether the Future is finished A false return value is only indicative, as the Future can complete concurrently. A true return value is definitive, though.

Source from the content-addressed store, hash-verified

331 /// A false return value is only indicative, as the Future can complete
332 /// concurrently. A true return value is definitive, though.
333 bool is_finished() const {
334 CheckValid();
335 return IsFutureFinished(impl_->state());
336 }
337
338 /// \brief Wait for the Future to complete and return its Result
339 const Result<ValueType>& result() const& {

Callers 15

TearDownMethod · 0.45
AcquireMethod · 0.45
WriteRecordBatchMethod · 0.45
HasDeliveredMethod · 0.45
AssertCannotConsumeMethod · 0.45
OnFinishMethod · 0.45
OnFinishMethod · 0.45
~ExecPlanImplMethod · 0.45
StartProducingMethod · 0.45
~BatchConverterMethod · 0.45
PushTaskMethod · 0.45

Calls 2

IsFutureFinishedFunction · 0.85
stateMethod · 0.45

Tested by 12

TearDownMethod · 0.36
HasDeliveredMethod · 0.36
AssertCannotConsumeMethod · 0.36
OnFinishMethod · 0.36
OnFinishMethod · 0.36
TEST_FFunction · 0.36
TryAcquireMethod · 0.36
TESTFunction · 0.36
TEST_PFunction · 0.36
TestFinishNotStickyFunction · 0.36
TESTFunction · 0.36