Class MessagePump

Nested Relationships

Nested Types

Inheritance Relationships

Derived Type

Class Documentation

class MessagePump

Subclassed by base::MessagePumpImpl

Public Types

using ExecutorId = uintptr_t

Public Functions

virtual ~MessagePump() = default
virtual PendingTask GetNextPendingTask(ExecutorId executor_id) = 0
virtual bool QueuePendingTask(PendingTask pending_task) = 0
virtual void Stop(PendingTask last_task) = 0
struct PendingTask

Public Functions

inline explicit operator bool() const

Public Members

OnceClosure task
std::optional<SequenceId> sequence_id
std::optional<ExecutorId> allowed_executor_id
std::weak_ptr<SequencedTaskRunner> target_task_runner