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

Method AddCallback

cpp/src/arrow/util/future.cc:228–230  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

226void FutureImpl::MarkFailed() { GetConcreteFuture(this)->DoMarkFailed(); }
227
228void FutureImpl::AddCallback(Callback callback, CallbackOptions opts) {
229 GetConcreteFuture(this)->AddCallback(std::move(callback), opts);
230}
231
232bool FutureImpl::TryAddCallback(const std::function<Callback()>& callback_factory,
233 CallbackOptions opts) {

Callers 15

BindFutureFunction · 0.45
MakeMethod · 0.45
StartProducingMethod · 0.45
ARROW_ASSIGN_OR_RAISEMethod · 0.45
GetFileInfoGeneratorMethod · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
operator()Method · 0.45
MarkFinalErrorMethod · 0.45

Calls 1

GetConcreteFutureFunction · 0.85

Tested by 3

TESTFunction · 0.36
TEST_FFunction · 0.36