View Source Nexus.Command.Input (nexus v0.3.1)

Define a structure to easy pattern matching the input on commands dispatched

Summary

Types

@type t() :: %Nexus.Command.Input{raw: binary(), value: term()}

Functions

@spec parse!(term(), binary()) :: t()