|
//TODO fix this to exit so it works consistenly rather than being overridden by the ticker` if they come in at the same time how to order |
|
// Timeout on the blocking code. I.e. if this section isn't complete after the set time the timeout will be enacted and break the loop. |
|
case <-time.After(50 * time.Millisecond): |
|
fmt.Println("Timeout of 50ms has been reached.") |
|
return |
|
case t := <-t.C: |
This issue was generated by todo based on a TODO
comment in 695bf16. It's been assigned to @marjamis because they committed the code.