| 37 | } |
| 38 | |
| 39 | static cobalt::promise<void> wthrow(bool throw_ = false) |
| 40 | { |
| 41 | if (throw_) |
| 42 | co_await asio::post(co_await cobalt::this_coro::executor, cobalt::use_op); |
| 43 | throw std::runtime_error("wthrow"); |
| 44 | co_return; |
| 45 | } |
| 46 | |
| 47 | static cobalt::promise<void> wnever() |
| 48 | { |