MCPcopy Create free account
hub / github.com/Pagghiu/SaneCppLibraries / AsyncResult

Function AsyncResult

Libraries/Async/Async.h:289–291  ·  view source on GitHub ↗

@brief Constructs an async result from a request and a result

Source from the content-addressed store, hash-verified

287struct SC_ASYNC_EXPORT AsyncResult
288{
289 /// @brief Constructs an async result from a request and a result
290 AsyncResult(AsyncEventLoop& eventLoop, AsyncRequest& request, SC::Result& res, bool* hasBeenReactivated = nullptr)
291 : eventLoop(eventLoop), async(request), hasBeenReactivated(hasBeenReactivated), returnCode(res)
292 {}
293
294 /// @brief Ask the event loop to re-activate this request after it was already completed

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected