Lines Matching refs:asyncOps
43 void Wait(SyncIdType syncId, const std::function<void()>& asyncOps)
47 if (asyncOps) {
50 asyncOps();
56 bool WaitFor(SyncIdType syncId, const std::function<void()>& asyncOps, int timeoutMs)
60 if (!asyncOps) {
65 asyncOps();
75 void Wait(SyncIdType syncId, const std::function<void()>& asyncOps, ResultType& result)
79 if (asyncOps) {
82 asyncOps();
89 bool WaitFor(SyncIdType syncId, const std::function<bool()>& asyncOps, int timeoutMs, ResultType& result)
93 if (!asyncOps) {
98 if (!asyncOps()) {