Class TaskRunner
Defined in File task_runner.h
Inheritance Relationships
Derived Types
public base::SequencedTaskRunner
(Class SequencedTaskRunner)public base::TaskRunnerImpl
(Class TaskRunnerImpl)
Class Documentation
-
class TaskRunner
Subclassed by base::SequencedTaskRunner, base::TaskRunnerImpl
Public Functions
-
virtual ~TaskRunner() = default
-
bool PostTask(SourceLocation location, OnceClosure task)
-
virtual bool PostDelayedTask(SourceLocation location, OnceClosure task, TimeDelta delay) = 0
-
bool PostTaskAndReply(SourceLocation location, OnceClosure task, OnceClosure reply)
-
template<typename TaskResult, typename ReplyArgument, template<typename> class TaskCallback, template<typename> class ReplyCallback>
inline bool PostTaskAndReplyWithResult(SourceLocation location, TaskCallback<TaskResult()> task, ReplyCallback<void(ReplyArgument)> reply)
-
virtual ~TaskRunner() = default