Skip to content

Commit

Permalink
Clarify what an event is
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisdoherty4 committed Oct 26, 2023
1 parent b71e4cd commit 735333c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/agent/event/event.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ import "context"
// Name is a unique name identifying an event.
type Name string

// Event is a recordable event. Each event in the event package implements this interface. Consumers
// should type switch the Event to the appropriate type for event handling.
// Event is a Workflow event created as Workflows execute. Each event in the event package
// implements this interface. Consumers should type switch the Event to the appropriate type for
// event handling.
//
// E.g.
//
Expand Down

0 comments on commit 735333c

Please sign in to comment.