userver: userver/components/component_fwd.hpp Source File
Loading...
Searching...
No Matches
component_fwd.hpp
Go to the documentation of this file.
1#pragma once
2
6
7#include <string_view>
8
11
12USERVER_NAMESPACE_BEGIN
13
14namespace components {
15
16template <typename T>
17struct WithType;
18
19class ComponentConfig;
20
22
25std::string_view GetCurrentComponentName(const ComponentContext& context);
26
32
35engine::TaskProcessor& GetFsTaskProcessor(const ComponentConfig& config, const ComponentContext& context);
36
37} // namespace components
38
39USERVER_NAMESPACE_END