Wait waits for execution
()
| 66 | |
| 67 | // Wait waits for execution |
| 68 | func (i *Executed) Wait() { |
| 69 | i.cond.L.Lock() |
| 70 | defer i.cond.L.Unlock() |
| 71 | if !i.done { |
| 72 | i.cond.Wait() |
| 73 | } |
| 74 | } |
| 75 | |
| 76 | // Broadcast broadcasts execution to waiting goroutines |
| 77 | func (i *Executed) Broadcast() { |
no outgoing calls
no test coverage detected