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

Method AwaitEventLoop

Libraries/Await/Await.cpp:847–851  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

845void AwaitTask::Promise::unhandled_exception() noexcept { taskResult = Result::Error("AwaitTask unhandled exception"); }
846
847AwaitEventLoop::AwaitEventLoop(AsyncEventLoop& asyncEventLoop, AwaitAllocator& allocator)
848 : eventLoop(asyncEventLoop), frameAllocator(&allocator), deferredDestroyList({})
849{
850 SC_AWAIT_ASSERT_RELEASE(allocator.isOpen());
851}
852
853AsyncEventLoop& AwaitEventLoop::asyncEventLoop() { return eventLoop; }
854

Callers

nothing calls this directly

Calls 1

isOpenMethod · 0.80

Tested by

no test coverage detected