IpcMainServiceWorkerEvent

external interface IpcMainServiceWorkerEvent : Event<Any> (source)

Properties

Link copied to clipboard
Link copied to clipboard
open val params: Any
Link copied to clipboard
abstract var ports: ERROR CLASS: Symbol not found for js.array.ReadonlyArray<electron/core/MessagePortMain>

A list of MessagePorts that were transferred with this message

Link copied to clipboard
abstract var preventDefault: () -> Unit
Link copied to clipboard
abstract var reply: Function<Unit>

A function that will send an IPC message to the renderer frame that sent the original message that you are currently handling. You should use this method to "reply" to the sent message in order to guarantee the reply will go to the correct process and frame.

Link copied to clipboard
abstract var returnValue: Any?

Set this to the value to be returned in a synchronous message

Link copied to clipboard

The service worker that sent this message

Link copied to clipboard
abstract var session: Session

The Session instance with which the event is associated.

Link copied to clipboard
abstract var type: String

Possible values include service-worker.

Link copied to clipboard
abstract var versionId: Double

The service worker version ID.