Flutter Engine
The Flutter Engine
|
#include <embedder_task_runner.h>
Public Attributes | |
std::function< void(EmbedderTaskRunner *task_runner, uint64_t task_baton, fml::TimePoint target_time)> | post_task_callback |
std::function< bool(void)> | runs_task_on_current_thread_callback |
A.
Definition at line 25 of file embedder_task_runner.h.
std::function<void(EmbedderTaskRunner* task_runner, uint64_t task_baton, fml::TimePoint target_time)> flutter::EmbedderTaskRunner::DispatchTable::post_task_callback |
Delegates responsibility of deferred task execution to the embedder. Once the embedder gets the task, it must call EmbedderTaskRunner::PostTask
with the supplied task_baton
on the correct thread after the tasks target_time
point expires.
Definition at line 35 of file embedder_task_runner.h.
std::function<bool(void)> flutter::EmbedderTaskRunner::DispatchTable::runs_task_on_current_thread_callback |
Asks the embedder if tasks posted to it on this task runner via the post_task_callback
will be executed (after task expiry) on the calling thread.
Definition at line 41 of file embedder_task_runner.h.