FileSequence connected by events

This commit is contained in:
Luis Fernando Molina committed 2019-09-23 17:21:40 +02:00
1 parent d761dc4a7c
commit b5d85a82e0
1 file changed
+3 -1
+3 -1
View File
@@ -73,8 +73,10 @@ function newFileSequence () {
fileCloud = newFileCloud()
fileCloud.initialize(bot)
let callerId = newUniqueId()
let key = devTeam.codeName + '-' + bot.codeName + '-' + product.codeName + '-' + thisSet.codeName
systemEventHandler.listenToEvent(key, 'Dataset Updated', undefined, key, onResponse, updateFiles)
systemEventHandler.listenToEvent(key, 'Dataset Updated', undefined, callerId, onResponse, updateFiles)
function onResponse (message) {
eventSubscriptionIdDatasetUpdated = message.eventSubscriptionId