GetRunningCount returns the number of currently running loops.
()
| 513 | |
| 514 | // GetRunningCount returns the number of currently running loops. |
| 515 | func (m *Manager) GetRunningCount() int { |
| 516 | return len(m.GetRunningPRDs()) |
| 517 | } |
| 518 | |
| 519 | // StopAll stops all running loops. |
| 520 | func (m *Manager) StopAll() { |