8e1c8b9be6
* chore(main): release 17.1.1 * chore: generate versioned docs Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
317 B
317 B
sidebar_label |
---|
Target.worker |
Target.worker() method
If the target is not of type "service_worker"
or "shared_worker"
, returns null
.
Signature:
class Target {
worker(): Promise<WebWorker | null>;
}
Returns:
Promise<WebWorker | null>