userver: userver/components/component_fwd.hpp File Reference
Loading...
Searching...
No Matches
component_fwd.hpp File Reference

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.