GetState ...
()
| 132 | |
| 133 | // GetState ... |
| 134 | func (s *Runtime) GetState() RuntimeState { |
| 135 | s.ManagedThread.Lock() |
| 136 | defer s.ManagedThread.Unlock() |
| 137 | return s.currentState |
| 138 | } |
| 139 | |
| 140 | // Ready delegates to state implementation. |
| 141 | func (s *Runtime) Ready() error { |