github.com/itsabgr/go-handy@v0.0.0-20220724000257-022d51f2b9c6/loop.go (about)

     1  package handy
     2  
     3  import "runtime"
     4  
     5  func Loop() {
     6  	for {
     7  		runtime.Gosched()
     8  	}
     9  }