MCPcopy Create free account
hub / github.com/kataras/iris / IsStopped

Method IsStopped

context/context.go:764–766  ·  view source on GitHub ↗

IsStopped reports whether the current position of the context's handlers is -1, means that the StopExecution() was called at least once.

()

Source from the content-addressed store, hash-verified

762// IsStopped reports whether the current position of the context's handlers is -1,
763// means that the StopExecution() was called at least once.
764func (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.

Callers 13

NextMethod · 0.95
NextHandlerMethod · 0.95
ResumeExecutionMethod · 0.95
NewFunction · 0.80
PanicRecoveryErrorFunction · 0.80
makeHandlerFunction · 0.80
AcquireMethod · 0.80
handlerOfMethod · 0.80
api_builder.goFile · 0.80
overlapRouteFunction · 0.80
GetRequestInputsFunction · 0.80
HandleErrorFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected