is a global provided by the Electron runtime, and also note that the return value of the
handle
handle
callback is important, because it's returned back to the process making the IPC.
What I can't figure out is how to set these listeners up inside of my program, run effects, and still return a real value from the callback. Also note that these callbacks are called many times, often several times per second or more. They're not torn down until the application quits.