client nits

This commit is contained in:
Ruben Fiszel
2024-03-06 01:56:55 +01:00
parent ab6852e913
commit caed0fdd43
+4 -1
View File
@@ -206,7 +206,10 @@ export function task<P, T>(f: (_: P) => T): (_: P) => Promise<T> {
}
);
let jobId = await req.text();
return await waitJob(jobId);
console.log(`Started task ${f.name} as job ${jobId}`);
let r = await waitJob(jobId);
console.log(`Task ${f.name} (${jobId}) completed`);
return r;
};
}