mirror of
https://github.com/finos/SymphonyElectron.git
synced 2025-02-25 18:55:29 -06:00
add max queue length for notifications (#46)
This commit is contained in:
@@ -383,9 +383,10 @@ electron.ipcMain.on(apiProxyCmds.addEvent, function(event, args) {
|
||||
/* eslint-enable no-console */
|
||||
|
||||
let obj = liveObjs[args.objId];
|
||||
let callbackFunc = function() {
|
||||
let callbackFunc = function(result) {
|
||||
event.sender.send(apiProxyCmds.eventCallback, {
|
||||
callbackId: args.callbackId
|
||||
callbackId: args.callbackId,
|
||||
result: result
|
||||
});
|
||||
}
|
||||
obj._callbacks[args.callbackId] = callbackFunc;
|
||||
|
||||
Reference in New Issue
Block a user