1#ifndef MRS_LIB_CORO_CANCELLATION_HPP_
2#define MRS_LIB_CORO_CANCELLATION_HPP_
9#include "mrs_lib/coro/internal/continuation.hpp"
10#include "mrs_lib/coro/internal/immediate_awaitable.hpp"
13namespace mrs_lib::coro
25 bool await_suspend(std::coroutine_handle<T> handle)
31 std::stop_token await_resume();
34 std::stop_token token_;
Owning coroutine handle supporting cancellation.
Definition continuation.hpp:54
Definition cancellation.hpp:20