27 namespace eventsetup {
38 nonTransientAccessRequested_(
false) {}
69 const_cast<DataProxy*>(
this)->prefetchAsyncImpl(iTask, iRecord, iKey, iEventSetupImpl, iToken);
74 bool iTransiently)
const {
79 if LIKELY (!iTransiently) {
89 throwMakeException(iRecord, iKey);
101 waitTask->set_ref_count(2);
102 auto waitTaskPtr = waitTask.get();
106 waitTaskPtr->decrement_ref_count();
107 waitTaskPtr->wait_for_all();
111 if (waitTask->exceptionPtr()) {
112 std::rethrow_exception(*waitTask->exceptionPtr());