windmill-client 1.286.2 → 1.287.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.js +4 -1
- package/dist/core/OpenAPI.js +1 -1
- package/package.json +1 -1
package/dist/client.js
CHANGED
|
@@ -187,7 +187,10 @@ function task(f) {
|
|
|
187
187
|
body: JSON.stringify({ args }),
|
|
188
188
|
});
|
|
189
189
|
let jobId = yield req.text();
|
|
190
|
-
|
|
190
|
+
console.log(`Started task ${f.name} as job ${jobId}`);
|
|
191
|
+
let r = yield waitJob(jobId);
|
|
192
|
+
console.log(`Task ${f.name} (${jobId}) completed`);
|
|
193
|
+
return r;
|
|
191
194
|
});
|
|
192
195
|
}
|
|
193
196
|
exports.task = task;
|
package/dist/core/OpenAPI.js
CHANGED