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

Method foreach

include/process/collect.hpp:141–144  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

139 promise->future().onDiscard(defer(this, &CollectProcess::discarded));
140
141 foreach (const Future<T>& future, futures) {
142 future.onAny(defer(this, &CollectProcess::waited, lambda::_1));
143 future.onAbandoned(defer(this, &CollectProcess::abandoned));
144 }
145 }
146
147private:

Callers

nothing calls this directly

Calls 3

deferFunction · 0.85
discardMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected