#include <task_runner_window.h>
Definition at line 29 of file task_runner_window.h.
◆ TimerThread()
| flutter::TimerThread::TimerThread |
( |
std::function< void()> |
callback | ) |
|
|
explicit |
Definition at line 18 of file task_runner_window.cc.
21 std::chrono::time_point<std::chrono::high_resolution_clock>::max()) {}
FlutterDesktopBinaryReply callback
◆ ~TimerThread()
| flutter::TimerThread::~TimerThread |
( |
| ) |
|
◆ ScheduleAt()
| void flutter::TimerThread::ScheduleAt |
( |
std::chrono::time_point< std::chrono::high_resolution_clock > |
time_point | ) |
|
Definition at line 49 of file task_runner_window.cc.
51 std::lock_guard<std::mutex> lock(mutex_);
52 if (time_point < next_fire_time_) {
53 next_fire_time_ = time_point;
◆ Start()
| void flutter::TimerThread::Start |
( |
| ) |
|
◆ Stop()
| void flutter::TimerThread::Stop |
( |
| ) |
|
The documentation for this class was generated from the following files: