OnComplete implements an interface which receives a call to this method when the *tasklog.Logger has finished processing this task, but before it has accepted new tasks.
()
| 53 | // the *tasklog.Logger has finished processing this task, but before it has |
| 54 | // accepted new tasks. |
| 55 | func (s *SimpleTask) OnComplete() { |
| 56 | s.wg.Done() |
| 57 | } |
| 58 | |
| 59 | // Updates implements Task.Updates and returns a channel of updates which is |
| 60 | // closed when Complete() is called. |