boost::capy::run_async
Asynchronously launch a lazy task with stop token and memory resource.
Synopsis
Declared in <boost/capy/ex/run_async.hpp>
template<Executor Ex>
[[nodiscard]]
auto
run_async(
Ex ex,
std::stop_token st,
std::pmr::memory_resource* mr);
Parameters
| Name | Description |
|---|---|
ex |
The executor to execute the task on. |
st |
The stop token for cooperative cancellation. |
mr |
The memory resource for frame allocation. |