Runs a payload in a temporary coroutine engine instance.
More...
#include <cstddef>
#include <string>
#include <userver/utils/function_ref.hpp>
Go to the source code of this file.
|
namespace | engine |
| Asynchronous engine primitives.
|
|
|
void | engine::RunStandalone (utils::function_ref< void()> payload) |
| Runs a payload in a temporary coroutine engine instance.
|
|
void | engine::RunStandalone (std::size_t worker_threads, utils::function_ref< void()> payload) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
void | engine::RunStandalone (std::size_t worker_threads, const TaskProcessorPoolsConfig &config, utils::function_ref< void()> payload) |
| This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
|
|
Runs a payload in a temporary coroutine engine instance.
Definition in file run_standalone.hpp.