| 30 | } |
| 31 | |
| 32 | static cobalt::generator<int> wgen(asio::any_io_executor exec) |
| 33 | { |
| 34 | asio::steady_timer tim{exec, std::chrono::milliseconds(25)}; |
| 35 | co_await tim.async_wait(cobalt::use_op); |
| 36 | co_return 123; |
| 37 | } |
| 38 | |
| 39 | static cobalt::promise<void> wthrow(bool throw_ = false) |
| 40 | { |