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

Function foreach

src/tests/benchmarks.cpp:285–287  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

283
284 vector<Future<http::Response>> futures;
285 foreach (const Owned<ClientProcess>& client, clients) {
286 futures.push_back(http::get(client->self(), "run", query));
287 }
288
289 Future<vector<http::Response>> responses = collect(futures);
290 AWAIT_READY(responses);

Callers

nothing calls this directly

Calls 8

getFunction · 0.85
selfMethod · 0.80
secsMethod · 0.80
parseFunction · 0.50
terminateFunction · 0.50
waitFunction · 0.50
postFunction · 0.50
runMethod · 0.45

Tested by

no test coverage detected