boost::capy::run
Bind a task to an executor with stop token and standard allocator.
Synopsis
Declared in <boost/capy/ex/run.hpp>
template<
Executor Ex,
/* implementation-defined */ Alloc>
[[nodiscard]]
auto
run(
Ex ex,
std::stop_token st,
Alloc alloc);
Parameters
| Name | Description |
|---|---|
ex |
The executor on which the task should run. |
st |
The stop token for cooperative cancellation. |
alloc |
The allocator for frame allocation. |
Created with MrDocs