MCPcopy Index your code
hub / github.com/andywer/threads.js / WorkerGlobalScope

Interface WorkerGlobalScope

types/webworker.d.ts:4–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2/// <reference lib="webworker" />
3
4interface WorkerGlobalScope {
5 addEventListener(eventName: string, listener: (event: Event) => void): void
6 postMessage(message: any, transferables?: any[]): void
7 removeEventListener(eventName: string, listener: (event: Event) => void): void
8}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected