Skip to main content
Version: 15.3.2

WebWorker.executionContext() method

Returns the ExecutionContext the WebWorker runs in

Signature:

class WebWorker {
executionContext(): Promise<ExecutionContext>;
}

Returns:

Promise<ExecutionContext>

The ExecutionContext the web worker runs in.