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

Function NewEventEnd

pkg/command/command.go:99–101  ·  view source on GitHub ↗

NewEventEnd creates a new EventEnd with the given context and output.

(ctx context.Context, output Output)

Source from the content-addressed store, hash-verified

97
98// NewEventEnd creates a new EventEnd with the given context and output.
99func NewEventEnd(ctx context.Context, output Output) EventEnd {
100 return EventEnd{context: ctx, Output: output}
101}
102
103// GetContext returns the context associated with the EventEnd.
104func (e EventEnd) GetContext() context.Context {

Callers 9

RunContextMethod · 0.92
RunPluginContextMethod · 0.85
RunOnEventMethod · 0.85
flushFileEventsMethod · 0.85
RunContextMethod · 0.85
RunContextMethod · 0.85
RunPluginContextMethod · 0.85

Calls

no outgoing calls

Tested by 3

RunContextMethod · 0.74