boost::capy::any_executor::post

Posts a coroutine handle to the wrapped executor.

Synopsis

void
post(std::coroutine_handle h) const;

Description

Posts the coroutine handle to the executor for later execution and returns. The caller should transfer to std::noop_coroutine() after calling this.

Parameters

Name Description

h

The coroutine handle to post for resumption.

Preconditions

  • This instance holds a valid executor.

Created with MrDocs