Class

IPC

IPC(context, handlers, params)

IPC Handler.
Constructor

# new IPC(context, handlers, params)

Create a new IPC handler instance.
Parameters:
Name Type Description
context BrowserWindow the electron browser window
handlers Object game handlers to attach e.g. storage
params Object
register boolean immediately register event listeners or defer

View Source app/IPC.js, line 9

Methods

# register() → {void}

Register IPC event listeners.

View Source app/IPC.js, line 35

void