()
| 35 | } |
| 36 | |
| 37 | func (l *ListTask) Complete() { |
| 38 | l.ch <- &Update{ |
| 39 | S: fmt.Sprintf("%s: ...", l.msg), |
| 40 | At: time.Now(), |
| 41 | } |
| 42 | close(l.ch) |
| 43 | } |
| 44 | |
| 45 | // Throttled implements the Task.Throttled function and ensures that all log |
| 46 | // updates are printed to the sink. |
no outgoing calls