userver: userver/engine/run_in_coro.hpp Source File
Loading...
Searching...
No Matches
run_in_coro.hpp
Go to the documentation of this file.
1#pragma once
2
3/// @file userver/engine/run_in_coro.hpp
4/// @brief @copybrief RunInCoro
5
6#include <cstddef>
7
8#include <userver/utils/function_ref.hpp>
9
10USERVER_NAMESPACE_BEGIN
11
12/// @deprecated use engine::RunStandalone instead
13void RunInCoro(utils::function_ref<void()> payload, std::size_t worker_threads = 1);
14
15USERVER_NAMESPACE_END