Tinkex.Types.Telemetry.EventType (Tinkex v0.3.4)

View Source

Event type enumeration for telemetry events.

Mirrors Python tinker.types.event_type.EventType. Wire format: "SESSION_START" | "SESSION_END" | "UNHANDLED_EXCEPTION" | "GENERIC_EVENT"

Summary

Functions

Parse wire format string to atom.

Convert atom to wire format string.

List all valid event types.

Types

t()

@type t() :: :session_start | :session_end | :unhandled_exception | :generic_event

Functions

parse(arg1)

@spec parse(String.t() | nil) :: t() | nil

Parse wire format string to atom.

to_string(atom)

@spec to_string(t()) :: String.t()

Convert atom to wire format string.

values()

@spec values() :: [t()]

List all valid event types.