Closed swamisriman closed 7 months ago
Here, it is not explained how we are dealing with late goroutines, which was a problem for us here.
ie; What if we took a very long time to check one of the websites? What if the for loop runs before that's done? How is it taken care of?
PS: I don't know the answer to this (I'm still learning). I'm hoping someone will add this info.
It's in the next chapter :) https://quii.gitbook.io/learn-go-with-tests/go-fundamentals/select#slow-tests
Oh ok I didn't start reading that one yet. Thanks 😅
Here, it is not explained how we are dealing with late goroutines, which was a problem for us here.
ie; What if we took a very long time to check one of the websites? What if the for loop runs before that's done? How is it taken care of?
PS: I don't know the answer to this (I'm still learning). I'm hoping someone will add this info.