progress indicator in exports

This commit is contained in:
SPRINX0\prochazka
2025-03-04 13:55:36 +01:00
parent 4006f03444
commit 0c104d5d29
8 changed files with 87 additions and 12 deletions

View File

@@ -107,6 +107,10 @@ module.exports = {
}
},
handle_progress(runid, { progressName, status }) {
socket.emit(`runner-progress-${runid}`, { progressName, status });
},
rejectRequest(runid, error) {
if (this.requests[runid]) {
const { reject } = this.requests[runid];