aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcore/TaskSource.h
blob: 2c0a128e8b67f4ad26fa0ee5c8ebea1836a5e0c0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
#pragma once

namespace WebCore {

enum class TaskSource : uint8_t {
    DOMManipulation,
    DatabaseAccess,
    FileReading,
    FontLoading,
    Geolocation,
    IdleTask,
    IndexedDB,
    MediaElement,
    Microtask,
    Networking,
    PerformanceTimeline,
    Permission,
    PostedMessageQueue,
    Speech,
    UserInteraction,
    WebGL,
    WebXR,
    WebSocket,

    // Internal to WebCore
    InternalAsyncTask, // Safe to re-order or delay.
};

} // namespace WebCore