Clio  develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
SchedulerInterface.hpp
1#pragma once
2
3#include "etl/Models.hpp"
4
5#include <optional>
6
7namespace etl {
8
13 virtual ~SchedulerInterface() = default;
14
19 [[nodiscard]] virtual std::optional<model::Task>
20 next() = 0;
21};
22
23} // namespace etl
The interface of a scheduler for the extraction process.
Definition SchedulerInterface.hpp:12
virtual std::optional< model::Task > next()=0
Attempt to obtain the next task.