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

Function NewEventStart

pkg/command/command.go:81–83  ·  view source on GitHub ↗

NewEventStart creates a new EventStart with the given context and type.

(ctx context.Context, t Type)

Source from the content-addressed store, hash-verified

79
80// NewEventStart creates a new EventStart with the given context and type.
81func NewEventStart(ctx context.Context, t Type) EventStart {
82 return EventStart{context: ctx, Type: t}
83}
84
85// GetContext returns the context associated with the EventStart.
86func (e EventStart) GetContext() context.Context {

Callers 7

RunContextMethod · 0.92
RunPluginContextMethod · 0.85
RunContextMethod · 0.85
RunContextMethod · 0.85
RunPluginContextMethod · 0.85

Calls

no outgoing calls

Tested by 3

RunContextMethod · 0.74