Setu-TS
    Preparing search index...

    Interface WebWorkerGlobals

    The web globals this host needs. Inject fakes to test without spawning real workers.

    interface WebWorkerGlobals {
        hardwareConcurrency?: number;
        Worker?: new (
            specifier: string,
            options: { type: "module" },
        ) => WebWorkerLike;
    }
    Index
    hardwareConcurrency?: number

    Reported hardware concurrency (navigator.hardwareConcurrency).

    Worker?: new (specifier: string, options: { type: "module" }) => WebWorkerLike

    The Worker constructor; absent on runtimes without web workers.