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.

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.
utils::ResourceScopeStoragecomponents::GetResourceScopes (const ComponentContext &context)
 Equivalent to components::ComponentContext::Scopes, but works with forward declaration of the components::ComponentContext.
engine::TaskProcessorcomponents::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.