State returns the current state of the evpool.
()
| 251 | |
| 252 | // State returns the current state of the evpool. |
| 253 | func (evpool *Pool) State() sm.State { |
| 254 | evpool.mtx.Lock() |
| 255 | defer evpool.mtx.Unlock() |
| 256 | return evpool.state |
| 257 | } |
| 258 | |
| 259 | func (evpool *Pool) Close() error { |
| 260 | return evpool.evidenceStore.Close() |
no test coverage detected