Flutter Engine
The Flutter Engine
fml
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
8
namespace
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
*/
15
enum class
TaskSourceGrade
{
16
/// This `TaskSourceGrade` indicates that a task is critical to user
17
/// interaction.
18
kUserInteraction
,
19
/// This `TaskSourceGrade` indicates that a task corresponds to servicing a
20
/// dart event loop task. These aren't critical to user interaction.
21
kDartEventLoop
,
22
/// The absence of a specialized `TaskSourceGrade`.
23
kUnspecified
,
24
};
25
26
}
// namespace fml
27
28
#endif
// FLUTTER_FML_TASK_SOURCE_GRADE_H_
fml
Definition:
ascii_trie.cc:9
fml::TaskSourceGrade
TaskSourceGrade
Definition:
task_source_grade.h:15
fml::TaskSourceGrade::kDartEventLoop
@ kDartEventLoop
fml::TaskSourceGrade::kUnspecified
@ kUnspecified
The absence of a specialized TaskSourceGrade.
fml::TaskSourceGrade::kUserInteraction
@ kUserInteraction
Generated on Sun Jun 23 2024 21:54:58 for Flutter Engine by
1.9.4