aboutsummaryrefslogtreecommitdiff
path: root/src/bun.js/bindings/webcore/WorkerOptions.h
blob: bc2ef6ff025c657bec29d774ce3cf001b17846b8 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include "root.h"

namespace WebCore {

struct BunOptions {
    bool mini { false };
    bool unref { false };
};

struct WorkerOptions {
    // WorkerType type { WorkerType::Classic };
    // FetchRequestCredentials credentials { FetchRequestCredentials::SameOrigin };
    String name;

    BunOptions bun {};
};

} // namespace WebCore