|
rippled
|
Namespaces | |
| namespace | impl |
Functions | |
| template<typename Ctx , typename F > requires std::is_invocable_r_v<void, F, boost::asio::yield_context> | |
| void | spawn (Ctx &&ctx, F &&func) |
Spawns a coroutine using boost::asio::spawn | |
| void ripple::util::spawn | ( | Ctx && | ctx, |
| F && | func | ||
| ) |
Spawns a coroutine using boost::asio::spawn
io_context | Ctx | The type of the context/strand |
| F | The type of the function to execute |
| ctx | The execution context |
| func | The function to execute. Must return void |