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
distribute src distribute.erl
Raw

src/distribute.erl

-module(distribute).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/distribute.gleam").
-export([version/0]).
-if(?OTP_RELEASE >= 27).
-define(MODULEDOC(Str), -moduledoc(Str)).
-define(DOC(Str), -doc(Str)).
-else.
-define(MODULEDOC(Str), -compile([])).
-define(DOC(Str), -compile([])).
-endif.
-file("src/distribute.gleam", 15).
?DOC(
" The `distribute` library provides distributed computing primitives for Gleam.\n"
"\n"
" It includes modules for:\n"
" - `distribute/cluster`: Cluster formation and management.\n"
" - `distribute/connection_pool`: Efficient connection pooling.\n"
" - `distribute/groups`: Process groups (pg).\n"
" - `distribute/log`: Structured logging.\n"
" - `distribute/messaging`: Inter-node messaging.\n"
" - `distribute/monitor`: Node monitoring.\n"
" - `distribute/node_builder`: Fluent API for node configuration.\n"
" - `distribute/registry`: Global process registry.\n"
" - `distribute/remote_call`: RPC mechanisms.\n"
" - `distribute/settings`: Configuration settings.\n"
).
-spec version() -> binary().
version() ->
<<"1.0.0"/utf8>>.