Your opinion will help to improve our service
Leave a feedback >Forward declarations for components::ComponentContext and components::ComponentConfig; function components::GetCurrentComponentName() and components::GetFsTaskProcessor().
Definition in file component_fwd.hpp.
Go to the source code of 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. | |