Bienvenue sur la nouvelle documentation de CppUtils !
CppUtils::Thread::ScheduledEventDispatcher
CLASSTypes publics
Section intitulée « Types publics »using CppUtils::Thread::ScheduledEventDispatcher::Clock = std::chrono::steady_clock;TimePoint
Section intitulée « TimePoint »using CppUtils::Thread::ScheduledEventDispatcher::TimePoint = Clock::time_point;SubscriptionIdentifier
Section intitulée « SubscriptionIdentifier »using CppUtils::Thread::ScheduledEventDispatcher::SubscriptionIdentifier = Execution::EventDispatcher::SubscriptionIdentifier;Méthodes et fonctions publiques
Section intitulée « Méthodes et fonctions publiques »explicit ScheduledEventDispatcher::ScheduledEventDispatcher( Scheduler::Clock::duration step = std::chrono::milliseconds(10), std::size_t numberThreads = std::thread::hardware_concurrency(), std::function<void(std::exception_ptr)> onError = nullptr, std::function<void()> finally = nullptr);template <String::Hasher eventName = Type::Hash{}, class... Args, Chrono::Duration Delay = std::chrono::milliseconds>auto ScheduledEventDispatcher::emit(Delay delay, Args&&... args) -> void;template <String::Hasher eventName = Type::Hash{}, class... Args>auto ScheduledEventDispatcher::emit(TimePoint when, Args&&... args) -> void;template <String::Hasher eventName = Type::Hash{}, class... Args>auto ScheduledEventDispatcher::emit(Args&&... args) -> void;