MCPcopy Create free account
hub / github.com/IceFireDB/IceFireDB / IsAborted

Method IsAborted

IceFireDB-PubSub/pkg/router/context.go:62–64  ·  view source on GitHub ↗

IsAborted returns true if the current context was aborted.

()

Source from the content-addressed store, hash-verified

60
61// IsAborted returns true if the current context was aborted.
62func (c *Context) IsAborted() bool {
63 return c.Index >= AbortIndex
64}
65
66// Abort prevents pending Handlers from being called. Note that this will not stop the current handler.
67// Let's say you have an authorization middleware that validates that the current request is authorized.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected