LiveState.Encoder protocol (live_state v0.9.0)
Allows customization of the representation of a given type
as the state in a LiveState.Channel. It is called before serialization
and json diffing.
Summary
Types
@type t() :: term()
All the types that implement this protocol.