Definition main_thread_dispatcher.hpp:22
std::uint64_t Token
Definition main_thread_dispatcher.hpp:24
static bool call_sync(Task task)
static bool unregister_backend(Token token)
static bool is_main_thread()
static bool has_backend()
static Token register_backend(Backend backend)
static bool call_async_after(Task task, int delay_ms)
static bool call_async(Task task)
Definition main_thread_dispatcher.hpp:26
std::function< bool()> is_main_thread
Definition main_thread_dispatcher.hpp:28
std::function< bool(Task)> post
Definition main_thread_dispatcher.hpp:27
std::function< bool(Task, int)> post_after
Definition main_thread_dispatcher.hpp:33