.. _aw_resume_on:

Simple - resume_on()
-----------------------------------------------------------------------------------
You can call ``co_await tmc::resume_on(executor);`` to switch the current task to another executor.

It supports these :ref:`Awaitable Customizations <awaitable_customizations>`:
:literal_ref:`with_priority()<with_priority>`.

API Reference
-----------------------------------------------------------------------------------
.. doxygenfunction:: tmc::resume_on(Exec&& Executor)

.. doxygenfunction:: tmc::resume_on(Exec* Executor)
