| 82 | // Spawn a fire-and-forget task. |
| 83 | template <typename Function> |
| 84 | Status Spawn(Function&& func) { |
| 85 | return SpawnReal(TaskHints{}, std::forward<Function>(func), StopToken::Unstoppable(), |
| 86 | StopCallback{}); |
| 87 | } |
| 88 | template <typename Function> |
| 89 | Status Spawn(Function&& func, StopToken stop_token) { |
| 90 | return SpawnReal(TaskHints{}, std::forward<Function>(func), std::move(stop_token), |
no test coverage detected