userver: userver/engine/run_in_coro.hpp File Reference
Loading...
Searching...
No Matches
run_in_coro.hpp File Reference

Detailed Description

Definition in file run_in_coro.hpp.

Go to the source code of this file.

#include <cstddef>
#include <userver/utils/function_ref.hpp>
+ Include dependency graph for run_in_coro.hpp:
+ This graph shows which files directly or indirectly include this file:

Functions

void RunInCoro (utils::function_ref< void()> payload, std::size_t worker_threads=1)
 

Function Documentation

◆ RunInCoro()

void RunInCoro ( utils::function_ref< void()> payload,
std::size_t worker_threads = 1 )