MCPcopy Create free account
hub / github.com/3rdparty/libprocess / foreach

Method foreach

include/process/collect.hpp:223–226  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

221 promise->future().onDiscard(defer(this, &AwaitProcess::discarded));
222
223 foreach (const Future<T>& future, futures) {
224 future.onAny(defer(this, &AwaitProcess::waited, lambda::_1));
225 future.onAbandoned(defer(this, &AwaitProcess::abandoned));
226 }
227 }
228
229private:

Callers

nothing calls this directly

Calls 2

deferFunction · 0.85
discardMethod · 0.45

Tested by

no test coverage detected