I looked into the source for time.Sleep
. Found that there is just one line of declaration with no definition. I'm curious as to how it's actually working.
This is the only line is the source, which I couldn't wrap my head around.
func Sleep(d Duration)
So far I've looked into the source code, did some digging online. All links, explain how to use time.Sleep
but not how it works, which is understandable.