Register a one-shot fire-and-forget channel via ipcMain.once.
ipcMain.once
Process-scoped like handleOnce: the first message from any window consumes the listener, and later sends are silently ignored.
Register a one-shot fire-and-forget channel via
ipcMain.once.Process-scoped like handleOnce: the first message from any window consumes the listener, and later sends are silently ignored.