Clio develop
The XRP Ledger API server.
Loading...
Searching...
No Matches
etlng::impl::SchedulerChain< Schedulers > Class Template Reference
Inheritance diagram for etlng::impl::SchedulerChain< Schedulers >:
Collaboration diagram for etlng::impl::SchedulerChain< Schedulers >:

Public Member Functions

template<SomeScheduler... Ts>
requires (std::is_same_v<Ts, Schedulers> and ...)
 SchedulerChain (Ts &&... schedulers)
 
std::optional< model::Tasknext () override
 Attempt to obtain the next task.
 
- Public Member Functions inherited from etlng::SchedulerInterface

Member Function Documentation

◆ next()

template<SomeScheduler... Schedulers>
std::optional< model::Task > etlng::impl::SchedulerChain< Schedulers >::next ( )
inlinenodiscardoverridevirtual

Attempt to obtain the next task.

Returns
A task if one exists; std::nullopt otherwise

Implements etlng::SchedulerInterface.


The documentation for this class was generated from the following file: