Close stops the machine and get it ready to release
()
| 165 | |
| 166 | // Close stops the machine and get it ready to release |
| 167 | func (f *FSM) close() error { |
| 168 | f.closed = true |
| 169 | |
| 170 | return f.m.Close() |
| 171 | } |
| 172 | |
| 173 | // Switch switch to specificied State for the next tick |
| 174 | func (f *FSM) Switch(s FSMState) { |
no test coverage detected