#pragma once #include "root.h" #include "SerializedScriptValue.h" #include "TransferredMessagePort.h" #include "MessagePort.h" namespace WebCore { struct BunOptions { bool mini { false }; bool unref { false }; RefPtr data; Vector dataMessagePorts; std::unique_ptr> env { nullptr }; }; struct WorkerOptions { // WorkerType type { WorkerType::Classic }; // FetchRequestCredentials credentials { FetchRequestCredentials::SameOrigin }; String name; BunOptions bun {}; }; } // namespace WebCore