Vibe.UI.Command (vibe v0.2.0)

Copy Markdown View Source

UI-neutral command dispatched by TUI or LiveView clients.

Summary

Types

t()

@type t() :: %Vibe.UI.Command{data: map(), type: atom()}

Functions

new(type, data \\ %{})

@spec new(atom(), map()) :: t()