6#include <userver/components/component_base.hpp>
7#include <userver/engine/task/single_threaded_task_processors_pool.hpp>
8#include <userver/engine/task/task_processor_fwd.hpp>
13USERVER_NAMESPACE_BEGIN
16struct TaskProcessorConfig;
38 SingleThreadedTaskProcessors(
const ComponentConfig& config,
const ComponentContext&);
40 ~SingleThreadedTaskProcessors()
override;
42 engine::SingleThreadedTaskProcessorsPool& GetPool() {
return pool_; }
47 engine::SingleThreadedTaskProcessorsPool pool_;
51inline constexpr bool kHasValidate<SingleThreadedTaskProcessors> =
true;