EventMetadata
Last updated
Last updated
Creates an EventMetadata
instance for the given event type and payload.
type
string
true
The event type to track metadata for.
payload
struct
false
{}
The metadata to track.
Return: The EventMetadata
instance.
Converts the EventMetadata
instance to a serializable format.
No arguments
Return: (struct
) A struct representing this EventMetadata
instance.