userver: userver/components/component_fwd.hpp File Reference
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages Concepts
component_fwd.hpp File Reference

Your opinion will help to improve our service

Leave a feedback >

Detailed Description

Go to the source code of this file.

#include <string_view>
#include <userver/engine/task/task_processor_fwd.hpp>
+ This graph shows which files directly or indirectly include this file:

Namespaces

namespace  components
 Contains functions and types to start a userver based service/tool.
 

Functions

std::string_view components::GetCurrentComponentName (const ComponentContext &context)
 Equivalent to components::ComponentContext::GetComponentName, but works with forward declaration of the components::ComponentContext.
 
engine::TaskProcessor & components::GetFsTaskProcessor (const ComponentConfig &config, const ComponentContext &context)
 Returns the config["fs-task-processor"] if it is set; otherwise returns the default blocking task processor that was set in components::ManagerControllerComponent.