#include "component_sample_test.hpp"
 
#include <userver/dynamic_config/value.hpp>
 
namespace myservice::smth {
 
      config_(
          
      ) {
  
  [[maybe_unused]] 
auto url = config[
"some-url"].
As<std::string>();
 
  const auto fs_tp_name = config[
"fs-task-processor"].
As<std::string>();
 
 
  
  utils::Async(fs_task_processor, 
"my-component/fs-work", [] {  }).Get();
 
  
}
 
}  
 
namespace myservice::smth {
 
Component::~Component() = default;
 
}  
 
namespace myservice::smth {
 
                                           42};
 
int Component::DoSomething() const {
  
  const auto runtime_config = config_.GetSnapshot();
  return runtime_config[kMyConfig];
}
 
}  
 
namespace myservice::smth {
 
  return yaml_config::MergeSchemas<components::LoggableComponentBase>(R"(
type: object
description: user component smth
additionalProperties: false
properties:
    some-url:
        type: string
        description: url for something
    fs-task-processor:
        type: string
        description: name of the task processor to do some blocking FS syscalls
)");
}
 
}