TermUI.Event.Custom (TermUI v0.2.0)

View Source

Application-defined custom event.

For app-specific events not covered by standard types.

Summary

Functions

Creates a new custom event.

Types

t()

@type t() :: %TermUI.Event.Custom{name: atom(), payload: term(), timestamp: integer()}

Functions

new(name, payload \\ nil, opts \\ [])

Creates a new custom event.