(index int64, state constant.ProcessInstanceState, uptime time.Duration)
| 13 | type ProcessInstance ccv3.ProcessInstance |
| 14 | |
| 15 | func NewProcessInstance(index int64, state constant.ProcessInstanceState, uptime time.Duration) ProcessInstance { |
| 16 | return ProcessInstance(ccv3.ProcessInstance{ |
| 17 | Index: index, |
| 18 | State: state, |
| 19 | Uptime: uptime, |
| 20 | }) |
| 21 | } |
| 22 | |
| 23 | // Running will return true if the instance is running. |
| 24 | func (instance ProcessInstance) Running() bool { |
no test coverage detected