| 79 | { |
| 80 | template <typename H, typename F> |
| 81 | co_spawn_state(H&& h, const Executor& ex, F&& f) |
| 82 | : handler(std::forward<H>(h)), |
| 83 | spawn_work(ex), |
| 84 | handler_work(boost::asio::get_associated_executor(handler, ex)), |
| 85 | function(std::forward<F>(f)) |
| 86 | { |
| 87 | } |
| 88 | |
| 89 | Handler handler; |
| 90 | co_spawn_work_guard<Executor> spawn_work; |
nothing calls this directly
no test coverage detected