Run the stored function
| 392 | |
| 393 | // Run the stored function |
| 394 | static void run(task_base* t) LIBASYNC_NOEXCEPT |
| 395 | { |
| 396 | LIBASYNC_TRY { |
| 397 | // Dispatch to execution function |
| 398 | static_cast<task_func<Sched, Func, Result>*>(t)->get_func()(t); |
| 399 | } LIBASYNC_CATCH(...) { |
| 400 | cancel(t, std::current_exception()); |
| 401 | } |
| 402 | } |
no outgoing calls
no test coverage detected