Header menu logo fable-electron-docs-api

IpcMainServiceWorkerInvokeEvent Type

Constructors

Constructor Description

IpcMainServiceWorkerInvokeEvent(type, serviceWorker, versionId, session)

Full Usage: IpcMainServiceWorkerInvokeEvent(type, serviceWorker, versionId, session)

Parameters:
    type : Type - Possible values include service-worker.
    serviceWorker : ServiceWorkerMain - The service worker that sent this message
    versionId : float - The service worker version ID.
    session : Session - The Session instance with which the event is associated.

Returns: IpcMainServiceWorkerInvokeEvent
type : Type

Possible values include service-worker.

serviceWorker : ServiceWorkerMain

The service worker that sent this message

versionId : float

The service worker version ID.

session : Session

The Session instance with which the event is associated.

Returns: IpcMainServiceWorkerInvokeEvent

Instance members

Instance member Description

this.serviceWorker

Full Usage: this.serviceWorker

Returns: ServiceWorkerMain

The service worker that sent this message

Returns: ServiceWorkerMain

this.session

Full Usage: this.session

The Session instance with which the event is associated.

this.type

Full Usage: this.type

Possible values include service-worker.

this.versionId

Full Usage: this.versionId

The service worker version ID.

Type something to start searching.