dpp::detail::job::promise
job.h
typename... Args Args
std_coroutine::suspend_never std_coroutine::suspend_never dpp::detail::job::promise< Args >::final_suspend () const noexcept final_suspend dpp::detail::job::promise::final_suspend

Function called when the job is done.

std::suspend_never Do not suspend at the end, destroying the handle immediately

dpp::job dpp::job dpp::detail::job::promise< Args >::get_return_object () const noexcept get_return_object dpp::detail::job::promise::get_return_object

Function called to get the job object.

job

std_coroutine::suspend_never std_coroutine::suspend_never dpp::detail::job::promise< Args >::initial_suspend () const noexcept initial_suspend dpp::detail::job::promise::initial_suspend

Function called when the job is started.

std::suspend_never Do not suspend at the start, starting the job immediately

void void dpp::detail::job::promise< Args >::return_void () const noexcept return_void dpp::detail::job::promise::return_void

Function called when the job returns. Does nothing.

void void dpp::detail::job::promise< Args >::unhandled_exception () const unhandled_exception dpp::detail::job::promise::unhandled_exception

Function called when an exception is thrown and not caught.

Immediately

rethrows the exception to the caller / resumer

Coroutine promise type for a job.

dpp::detail::job::promise< Args >
dpp::detail::job::promise< Args... >
< Args... >
- dpp::detail::job::promise
  final_suspend
- dpp::detail::job::promise
  get_return_object
- dpp::detail::job::promise
  initial_suspend
- dpp::detail::job::promise
  return_void
- dpp::detail::job::promise
  unhandled_exception