Supervisor manages the session's background processes.
| 78 | |
| 79 | // Supervisor manages the session's background processes. |
| 80 | type Supervisor struct { |
| 81 | logger *zap.Logger |
| 82 | validate Validator |
| 83 | |
| 84 | mu sync.Mutex |
| 85 | seq int |
| 86 | procs map[string]*managedProcess |
| 87 | closed bool |
| 88 | } |
| 89 | |
| 90 | type managedProcess struct { |
| 91 | info Info |
nothing calls this directly
no outgoing calls
no test coverage detected