Class TaskRunner

Inheritance Relationships

Derived Types

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)