// Our MessageLoop doesn't provide a way to complete pending tasks when it is asked to quit. // Therefore our post-task methods don't care about if a task was submitted.
// Uses current thread's owning MessageLoop. // Throws an exception if the thread has no bound MessageLoop. publicTaskRunner() { _loop = MessageLoop.current(); }