0a0aa36c28
(cherry picked from commit d22598dbb1082de8ac712de954cd5616c838a48d)
7 lines
198 B
JavaScript
7 lines
198 B
JavaScript
const { ipcRenderer } = require('electron')
|
|
|
|
const { callLongThreadsafeFunction } = require('../index')
|
|
|
|
callLongThreadsafeFunction(() => {})
|
|
|
|
ipcRenderer.on('ping', () => ipcRenderer.send('pong'))
|