mrs_lib
Various reusable classes, functions and utilities for use in MRS projects
Loading...
Searching...
No Matches
mrs_lib::coro::internal::TaskAwaitable< T > Class Template Reference

Awaitable used to co_await other tasks. More...

#include <task.hpp>

Public Member Functions

bool await_ready ()
template<typename CallerPromise>
void await_suspend (std::coroutine_handle< CallerPromise > continuation)
T await_resume ()
 TaskAwaitable (const TaskAwaitable &)=delete
TaskAwaitable & operator= (const TaskAwaitable &)=delete
 TaskAwaitable (TaskAwaitable &&)=delete
TaskAwaitable & operator= (TaskAwaitable &&)=delete
void operator co_await () const =delete

Friends

class Task< T >

Detailed Description

template<typename T>
class mrs_lib::coro::internal::TaskAwaitable< T >

Awaitable used to co_await other tasks.

This is responsible for suspending the caller and registering it as a continuation of the callee.


The documentation for this class was generated from the following file:
  • /home/runner/work/mrs_lib/mrs_lib/include/mrs_lib/coro/task.hpp