33 typedef std::chrono::steady_clock::time_point
TimePoint;
53 throw_exception<std::logic_error>(
"unimplemented");
57 virtual TimePoint
now() {
void add(Func) override=0
std::chrono::steady_clock::time_point TimePoint
std::chrono::steady_clock::time_point now()
constexpr detail::Map< Move > move
—— Concurrent Priority Queue Implementation ——
void schedule(Func &&a)
Alias for add() (for Rx consistency)
std::chrono::microseconds Duration
~ScheduledExecutor() override=default
virtual TimePoint now()
Get this executor's notion of time. Must be threadsafe.
virtual void scheduleAt(Func &&, TimePoint const &)
void schedule(Func &&a, Duration const &dur)