morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
completion_awaiter.hpp File Reference

The awaiter behind Completion<T>::operator co_await. More...

#include <atomic>
#include <core/async/Awaitable.hpp>
#include <core/async/Cancellation.hpp>
#include <core/async/ExecutorContext.hpp>
#include <core/async/ParkedWork.hpp>
#include <core/async/StopToken.hpp>
#include <coroutine>
#include <cstdint>
#include <exception>
#include <memory>
#include <optional>
#include <stdexcept>
#include <utility>
#include "../callback_scope.hpp"
#include "../executor.hpp"

Go to the source code of this file.

Detailed Description

The awaiter behind Completion<T>::operator co_await.

A fragment of completion.hpp rather than of coroutine.hpp, so a Completion<T> is awaitable wherever it is visible. Specified in docs/spec/core/coroutines.md.

Definition in file completion_awaiter.hpp.