protect/unprotect tree reports progress via notifications

This commit is contained in:
zadam
2019-10-19 09:58:18 +02:00
parent 82bbf4173b
commit 00bb1236ce
4 changed files with 42 additions and 5 deletions

View File

@@ -35,6 +35,7 @@ class TaskContext {
type: 'task-progress-count',
taskId: this.taskId,
taskType: this.taskType,
data: this.data,
progressCount: this.progressCount
});
}
@@ -45,6 +46,7 @@ class TaskContext {
type: 'task-error',
taskId: this.taskId,
taskType: this.taskType,
data: this.data,
message: message
});
}
@@ -54,6 +56,7 @@ class TaskContext {
type: 'task-succeeded',
taskId: this.taskId,
taskType: this.taskType,
data: this.data,
result: result
});
}