InterviewSolution
Saved Bookmarks
| 1. |
What is goroutine? |
|
Answer» It is a function that runs concurrently with other functions. If you WANT to stop it, you will have to pass a signal channel to the goroutine, which will push a value into when you want the function to finish. ExampleQuit : = make (chan bool) |
|