puppeteer/new-docs/puppeteer.webworker.executioncontext.md
Martin Splitt 44402b75a0
feat(new-docs): add tsdoc comments to WebWorker (#6029)
* feat(new-docs): add TSDoc comments to `WebWorker`

Co-authored-by: martinsplitt <martin@geekonaut.de>
2020-06-17 16:26:10 +01:00

579 B

Home > puppeteer > WebWorker > executionContext

WebWorker.executionContext() method

Returns the ExecutionContext the WebWorker runs in

Signature:

executionContext(): Promise<ExecutionContext>;

Returns:

Promise<ExecutionContext>

The ExecutionContext the web worker runs in.