Function
newProjectLoadingProgressFromReporter
(reporter progressReporter, delay time.Duration)
Source from the content-addressed store, hash-verified
| 78 | } |
| 79 | |
| 80 | func newProjectLoadingProgressFromReporter(reporter progressReporter, delay time.Duration) *projectLoadingProgress { |
| 81 | p := &projectLoadingProgress{ |
| 82 | reporter: reporter, |
| 83 | ch: make(chan progressEvent, 64), |
| 84 | delay: delay, |
| 85 | } |
| 86 | go p.run() |
| 87 | return p |
| 88 | } |
| 89 | |
| 90 | func (p *projectLoadingProgress) start(message *diagnostics.Message, args ...any) { |
| 91 | select { |