mirror of
https://github.com/kolbytn/mindcraft.git
synced 2025-08-04 06:15:32 +02:00
execute resume wait
This commit is contained in:
parent
4ae9ccdcc2
commit
5a27e005c7
1 changed files with 1 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue