mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
time: time.wait() => time.sleep()
This commit is contained in:
@@ -14,6 +14,6 @@ fn main() {
|
||||
l := r.read_line() or { break }
|
||||
println('$l')
|
||||
// Make it nice and obvious that we are doing this line by line
|
||||
time.wait(100 * time.millisecond)
|
||||
time.sleep(100 * time.millisecond)
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user