Packages
Typed distributed messaging for Gleam on the BEAM.
Retired package: Deprecated - The project needs to be redesigned around a much smaller and clearer core.
Current section
Files
Jump to
Current section
Files
include/distribute@codec_Schema.hrl
-record(schema, {
tag :: binary(),
version :: integer(),
encoder :: fun((any()) -> {ok, bitstring()} |
{error, distribute@codec:encode_error()}),
decoder :: fun((bitstring()) -> {ok, any()} |
{error, distribute@codec:decode_error()})
}).