MCPcopy Create free account
hub / github.com/MacroPower/kat / EventCancel

Struct EventCancel

pkg/command/command.go:109–111  ·  view source on GitHub ↗

EventCancel indicates that a command execution has been canceled.

Source from the content-addressed store, hash-verified

107
108// EventCancel indicates that a command execution has been canceled.
109type EventCancel struct {
110 context context.Context
111}
112
113// NewEventCancel creates a new EventCancel with the given context.
114func NewEventCancel(ctx context.Context) EventCancel {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected