X3m.System.Message.add_event

You're seeing just the function add_event, go back to X3m.System.Message module for more information.
Link to this function

add_event(message, event)

View Source

Specs

add_event(message :: t(), event :: nil | any()) :: t()

Adds event in message.events list. If event is nil it behaves as noop.

After return/2 (and friends) order of msg.events will be the same as they've been added.