Clearly I am new to `coroutines`. This code was g...
# coroutines
m
Clearly I am new to
coroutines
. This code was giving me an error when I was trying to do this:
Copy code
experienceTimer.tagVal("/sdsd/login").time {
   Thread.sleep(2)
}
until I placed the
suspend
before the
experienceTimer.tagVal("/sdsd/login").time{...}
why should I do that? I feel like I am doing something wrong since there are too many
suspend
.