The difference between `time.After` and `time.Sleep`
· One min read
What's the difference between:
import "time"
<-time.After(10 * time.Second)
import "time"
time.Sleep(10 * time.Second)
Golang
View All TagsWhat's the difference between:
import "time"
<-time.After(10 * time.Second)
import "time"
time.Sleep(10 * time.Second)