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

Method initialize

include/process/collect.hpp:218–227  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

216 }
217
218 void initialize() override
219 {
220 // Stop this nonsense if nobody cares.
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:
230 void abandoned()

Callers

nothing calls this directly

Calls 2

deferFunction · 0.85
futureMethod · 0.80

Tested by

no test coverage detected