-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor: improve code for wait vm to reach the specified state (#75)
In previous implementations, there was a need to maintain a timeout error variable to ignore while waiting for the VM to stop. This part of the code was not intuitive enough, and other maintainers couldn’t grasp its intention at first glance. This improvement has optimized the `waitForVMState` function by adding a timeout parameter, making the code more intuitive.
- Loading branch information
Showing
1 changed file
with
10 additions
and
22 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters