cancel.gif update
Vladimir Bauer
9 years ago
| 100 | 100 | |
| 101 | 101 | ### Cancel |
| 102 | 102 | |
| 103 | To cancel use either | |
| 104 | [WithCancel](https://godoc.org/github.com/vbauerster/mpb#Progress.WithCancel) or | |
| 105 | [WithContext](https://godoc.org/github.com/vbauerster/mpb#Progress.WithContext) | |
| 106 | method. The last one requires Go 1.7 | |
| 107 | ||
| 103 | 108 |  |
| 104 | 109 | |
| 105 | 110 | The source code: [example/cancel/main.go](example/cancel/main.go) |
Binary diff not shown