execute resume wait

This commit is contained in:
Kolby Nottingham 2024-02-03 08:59:07 -08:00
parent 4ae9ccdcc2
commit 5a27e005c7

View file

@ -168,6 +168,7 @@ export class Coder {
}
if (this.resume_func != null) {
this.interruptible = true;
await new Promise(resolve => setTimeout(resolve, 500));
let res = await this.execute(this.resume_func, timeout);
this.interruptible = false;
return res;