ServiceWorkerInfo Type
Constructors
| Constructor |
Description
|
Full Usage:
ServiceWorkerInfo(scriptUrl, scope, renderProcessId, versionId)
Parameters:
string
-
The full URL to the script that this service worker runs
scope : string
-
The base URL that this service worker is active for.
renderProcessId : float
-
The virtual ID of the process that this service worker is running in. This is not an OS
level PID. This aligns with the ID set used for webContents.getProcessId().
versionId : float
-
ID of the service worker version
Returns: ServiceWorkerInfo
|
|
Instance members
| Instance member |
Description
|
Full Usage:
this.renderProcessId
|
The virtual ID of the process that this service worker is running in. This is not an OS level PID. This aligns with the ID set used for webContents.getProcessId(). |
Full Usage:
this.scope
|
The base URL that this service worker is active for. |
Full Usage:
this.scriptUrl
|
The full URL to the script that this service worker runs |
Full Usage:
this.versionId
|
ID of the service worker version |
fable-electron-docs-api