boost::capy::strand::post
Post a coroutine to the strand.
Synopsis
Declared in <boost/capy/ex/strand.hpp>
void
post(std::coroutine_handle h) const;
Description
The coroutine is always queued for execution, never resumed immediately. When the strand becomes available, queued coroutines execute in FIFO order on the underlying executor.
Ordering
Guarantees strict FIFO ordering relative to other post() calls. Use this instead of dispatch() when ordering matters.
Parameters
| Name | Description |
|---|---|
h |
The coroutine handle to post. |
Created with MrDocs