morph 0.1.0
Asynchronous bridge between GUI thread and business models
Loading...
Searching...
No Matches
scheduler.hpp File Reference

morph::reactive::Scheduler: timers a frontend runs on the runtime's owner executor. More...

#include <chrono>
#include <functional>
#include <utility>

Go to the source code of this file.

Classes

class  morph::reactive::TimerHandle
 Owns one scheduled timer and cancels it when destroyed. Move-only. More...
class  morph::reactive::Scheduler
 Runs callbacks after a delay or on a period, on the runtime's owner executor. More...

Detailed Description

morph::reactive::Scheduler: timers a frontend runs on the runtime's owner executor.

Specified in docs/spec/reactive/control.md, "Timed refresh".

Definition in file scheduler.hpp.