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

Method Then

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

Source from the content-addressed store, hash-verified

602 typename OnComplete = ThenOnComplete<OnSuccess, OnFailure>,
603 typename ContinuedFuture = typename OnComplete::ContinuedFuture>
604 ContinuedFuture Then(OnSuccess on_success, OnFailure on_failure = {},
605 CallbackOptions options = CallbackOptions::Defaults()) const {
606 auto next = ContinuedFuture::Make();
607 AddCallback(OnComplete{std::forward<OnSuccess>(on_success),
608 std::forward<OnFailure>(on_failure), next},
609 options);
610 return next;
611 }
612
613 /// \brief Implicit constructor to create a finished future from a value
614 Future(ValueType val) : Future() { // NOLINT runtime/explicit

Callers 15

GetFragmentsFunction · 0.80
operator()Method · 0.80
operator()Method · 0.80
BeginScanMethod · 0.80
StartProducingMethod · 0.80
ToTableAsyncMethod · 0.80
CountRowsAsyncMethod · 0.80
MakeMethod · 0.80
OpenReaderAsyncFunction · 0.80
GeneratorFromReaderFunction · 0.80
CountRowsMethod · 0.80

Calls 2

MakeFunction · 0.70
DefaultsFunction · 0.50