View Source EdgeDB.Protocol.CustomCodec behaviour (EdgeDB v0.7.0)
Behaviour for custom scalar codecs.
See custom codecs development guide on hex.pm or on edgedb.com for more information.
Summary
Callbacks
@callback name() :: String.t()
Get name for type that can be decoded by codec.
@callback new() :: EdgeDB.Protocol.Codec.t()
Initialize custom codec.