Flutter Engine
The Flutter Engine
Loading...
Searching...
No Matches
task_source_grade.h
Go to the documentation of this file.
1// Copyright 2013 The Flutter Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style license that can be
3// found in the LICENSE file.
4
5#ifndef FLUTTER_FML_TASK_SOURCE_GRADE_H_
6#define FLUTTER_FML_TASK_SOURCE_GRADE_H_
7
8namespace fml {
9
10/**
11 * Categories of work dispatched to `MessageLoopTaskQueues` dispatcher. By
12 * specifying the `TaskSourceGrade`, you indicate the task's importance to the
13 * dispatcher.
14 */
15enum class TaskSourceGrade {
16 /// This `TaskSourceGrade` indicates that a task is critical to user
17 /// interaction.
19 /// This `TaskSourceGrade` indicates that a task corresponds to servicing a
20 /// dart event loop task. These aren't critical to user interaction.
22 /// The absence of a specialized `TaskSourceGrade`.
24};
25
26} // namespace fml
27
28#endif // FLUTTER_FML_TASK_SOURCE_GRADE_H_
@ kUnspecified
The absence of a specialized TaskSourceGrade.