std1.0.0-beta-7 SafeC docs

std :: async::coro

Macro AWAIT

#include <std/async/coro.h> source

#define AWAIT(k, fut) *__async_st = __async_point_##k; __async_resume_##k: if (std::async_poll_done_((fut).poll(cx)) == 0) return Poll::pending()