| 25 | ) |
| 26 | |
| 27 | type networkTaskStatusObserver struct { |
| 28 | network networkRuntime |
| 29 | tasks taskStore |
| 30 | prefs storepkg.NetworkPreferenceStore |
| 31 | logger *slog.Logger |
| 32 | now func() time.Time |
| 33 | ctx context.Context |
| 34 | cancel context.CancelFunc |
| 35 | wg sync.WaitGroup |
| 36 | queue chan taskpkg.EventRecord |
| 37 | timeout time.Duration |
| 38 | } |
| 39 | |
| 40 | var _ taskpkg.EventObserver = (*networkTaskStatusObserver)(nil) |
| 41 |
nothing calls this directly
no outgoing calls
no test coverage detected