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@settings.erl
Raw

src/distribute@settings.erl

-module(distribute@settings).
-compile([no_auto_import, nowarn_unused_vars, nowarn_unused_function, nowarn_nomatch, inline]).
-define(FILEPATH, "src/distribute/settings.gleam").
-export([set_allow_atom_creation/1, is_allow_atom_creation/0, set_use_crypto_ids/1, is_use_crypto_ids/0]).
-file("src/distribute/settings.gleam", 14).
-spec set_allow_atom_creation(boolean()) -> nil.
set_allow_atom_creation(Allow) ->
_ = settings_ffi:set_allow_atom_creation(Allow),
nil.
-file("src/distribute/settings.gleam", 19).
-spec is_allow_atom_creation() -> boolean().
is_allow_atom_creation() ->
settings_ffi:get_allow_atom_creation().
-file("src/distribute/settings.gleam", 23).
-spec set_use_crypto_ids(boolean()) -> nil.
set_use_crypto_ids(Use_crypto) ->
_ = settings_ffi:set_use_crypto_ids(Use_crypto),
nil.
-file("src/distribute/settings.gleam", 28).
-spec is_use_crypto_ids() -> boolean().
is_use_crypto_ids() ->
settings_ffi:get_use_crypto_ids().