Welcome to the new CppUtils documentation!
CppUtils::Thread::Scheduler
CLASSPublic types
Section titled “Public types”using CppUtils::Thread::Scheduler::Clock = std::chrono::steady_clock;TimePoint
Section titled “TimePoint”using CppUtils::Thread::Scheduler::TimePoint = Clock::time_point;Public methods & functions
Section titled “Public methods & functions”Scheduler::Scheduler( Clock::duration step = Clock::duration::zero(), std::size_t numberThreads = std::thread::hardware_concurrency(), std::function<void(std::exception_ptr)> onError = nullptr, std::function<void()> finally = nullptr);auto Scheduler::schedule(Task task, Chrono::Duration auto delay, const void* owner = nullptr) -> std::size_t;