/* * Copyright (c) 2025, Shannon Booth * * SPDX-License-Identifier: BSD-2-Clause */ #pragma once #include namespace Web::HTML { // https://html.spec.whatwg.org/multipage/webappapis.html#dedicated-worker-agent // https://html.spec.whatwg.org/multipage/webappapis.html#shared-worker-agent struct WorkerAgent : public Agent { static NonnullOwnPtr create(GC::Heap&, CanBlock); private: using Agent::Agent; }; }