Saltar al contenido principal

Objecto IpcMainEvent extiende Event

  • sender IpcRenderer - La instancia de IpcRenderer que emitió originalmente el evento
  • senderId Integer Deprecated - The webContents.id that sent the message, you can call event.sender.sendTo(event.senderId, ...) to reply to the message, see ipcRenderer.sendTo for more information. Esto sólo aplica a mensajes enviado desde un renderer diferente. Mensajes enviados directamente desde el main process establece event.senderId a 0.
  • senderIsMainFrame boolean (optional) Deprecated - Whether the message sent via ipcRenderer.sendTo was sent by the main frame. This is relevant when nodeIntegrationInSubFrames is enabled in the originating webContents.
  • ports MessagePort[] - Una lista de MessagePorts que se transfirieron con este mensaje