Fix waittime in hidive
This commit is contained in:
parent
2149df6fe5
commit
57a777c4a3
1 changed files with 6 additions and 0 deletions
|
|
@ -798,4 +798,10 @@ export default class Hidive implements ServiceClass {
|
|||
if (isMuxed && !options.nocleanup)
|
||||
merger.cleanUp();
|
||||
}
|
||||
|
||||
public sleep(ms: number) {
|
||||
return new Promise((resolve) => {
|
||||
setTimeout(resolve, ms);
|
||||
});
|
||||
}
|
||||
}
|
||||
Loading…
Reference in a new issue