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

Function await

include/process/collect.hpp:107–113  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

105// does not (or can not) discard their execution.
106template <typename T>
107Future<Future<T>> await(const Future<T>& future)
108{
109 return await(std::vector<Future<T>>{future})
110 .then([=]() {
111 return Future<Future<T>>(future);
112 });
113}
114
115
116namespace internal {

Callers

nothing calls this directly

Calls 5

bindFunction · 0.85
futureMethod · 0.80
spawnFunction · 0.70
thenMethod · 0.45
emptyMethod · 0.45

Tested by

no test coverage detected