Method
start
(message *diagnostics.Message, args ...any)
Source from the content-addressed store, hash-verified
| 88 | } |
| 89 | |
| 90 | func (p *projectLoadingProgress) start(message *diagnostics.Message, args ...any) { |
| 91 | select { |
| 92 | case p.ch <- progressEvent{message: message, args: args}: |
| 93 | // Sent successfully. |
| 94 | case <-p.reporter.done(): |
| 95 | // Server shutting down; drop the event. |
| 96 | } |
| 97 | } |
| 98 | |
| 99 | func (p *projectLoadingProgress) finish(message *diagnostics.Message, args ...any) { |
| 100 | select { |
Callers
nothing calls this directly
Tested by
no test coverage detected