View Source FLHook.Command protocol (FLHook Client v1.0.0)

A protocol to implement custom commands.

Link to this section Summary

Functions

Returns a command string or tuple. It may even return another command except itself.

Link to this section Types

Specs

serializable() ::
  String.t() | [String.Chars.t()] | {String.t(), [String.Chars.t()]}

Specs

t() :: term()

Link to this section Functions

Specs

to_cmd(t()) :: serializable()

Returns a command string or tuple. It may even return another command except itself.