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