Searched defs:TaskAttribute (Results 1 – 3 of 3) sorted by relevance
46 struct TaskAttribute { struct47 std::string taskName_;48 int64_t delayMillis_ = 0;49 TaskQoS taskQos_ = TaskQoS::DEFAULT;50 TaskQueuePriority taskPriority_ = TaskQueuePriority::LOW;51 int64_t timeoutMillis_ = 0; // task should be started within timeout52 bool insertHead_ = false; // insert into the head of the queue
23 const std::function<void()> &&task, const TaskAttribute &) in MockTaskHandler()