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