IsStopped reports whether the current position of the context's handlers is -1, means that the StopExecution() was called at least once.
()
| 762 | // IsStopped reports whether the current position of the context's handlers is -1, |
| 763 | // means that the StopExecution() was called at least once. |
| 764 | func (ctx *Context) IsStopped() bool { |
| 765 | return ctx.currentHandlerIndex == stopExecutionIndex |
| 766 | } |
| 767 | |
| 768 | // ResumeExecution sets the current handler index to the last |
| 769 | // index of the executed handler before StopExecution method was fired. |
no outgoing calls
no test coverage detected