In typical reducer patterns, actions are plain objects with a type property that holds a string value (and which may have other properties as well):
type
{ type: "VISITOR_LEFT" }
{ type: "DECREMENT_COUNTER" }
{ type: "VISITORS_ENTERED", payload: 2 }