You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The 'newResults' event might be thrown several times with the same data attached. Therefore, each widget should check, if it already processed the data. This should be possible via the queryID. Exemplary sketch:
varlastProcessedQueryID;window.onmessage=function(msg){if(msg.data.event&&msg.data.event==='eexcess.newResults'){if(lastProcessedQueryID&&lastProcessedQueryID===msg.data.data.queryID){// data already processed, do nothing}else{// process data// ....// store queryID of last processed datalastProcessedQueryID=msg.data.data.queryID;}}
The text was updated successfully, but these errors were encountered:
The 'newResults' event might be thrown several times with the same data attached. Therefore, each widget should check, if it already processed the data. This should be possible via the queryID. Exemplary sketch:
The text was updated successfully, but these errors were encountered: