IsPaused returns whether the loop is paused.
()
| 524 | |
| 525 | // IsPaused returns whether the loop is paused. |
| 526 | func (l *Loop) IsPaused() bool { |
| 527 | l.mu.Lock() |
| 528 | defer l.mu.Unlock() |
| 529 | return l.paused |
| 530 | } |
| 531 | |
| 532 | // IsStopped returns whether the loop is stopped. |
| 533 | func (l *Loop) IsStopped() bool { |