NewExecuted creates a new Executed
()
| 58 | |
| 59 | // NewExecuted creates a new Executed |
| 60 | func NewExecuted() *Executed { |
| 61 | return &Executed{ |
| 62 | cond: *sync.NewCond(&sync.Mutex{}), |
| 63 | done: false, |
| 64 | } |
| 65 | } |
| 66 | |
| 67 | // Wait waits for execution |
| 68 | func (i *Executed) Wait() { |
no outgoing calls
no test coverage detected