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

Method scheduleManualCompletion

Libraries/Async/Async.cpp:2496–2501  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2494}
2495
2496void SC::AsyncEventLoop::Internal::scheduleManualCompletion(AsyncRequest& async)
2497{
2498 SC_ASYNC_ASSERT_RELEASE(async.state == AsyncRequest::State::Setup or
2499 async.state == AsyncRequest::State::Submitting);
2500 manualCompletions.queueBack(async);
2501}
2502
2503template <typename Lambda>
2504SC::Result SC::AsyncEventLoop::Internal::applyOnAsync(AsyncRequest& async, Lambda&& lambda)

Callers 1

operator()Method · 0.80

Calls 1

queueBackMethod · 0.45

Tested by

no test coverage detected