Current section

Files

Jump to
distribute include distribute@global_GlobalSubject.hrl
Raw

include/distribute@global_GlobalSubject.hrl

-record(global_subject, {
subject :: gleam@erlang@process:subject(bitstring()),
encoder :: fun((any()) -> {ok, bitstring()} |
{error, distribute@codec:encode_error()}),
decoder :: fun((bitstring()) -> {ok, any()} |
{error, distribute@codec:decode_error()})
}).