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 include distribute@discovery@beam_adapter_Subscribe.hrl
Raw

include/distribute@discovery@beam_adapter_Subscribe.hrl

-record(subscribe, {
callback :: fun((distribute@discovery@types:discovery_event()) -> nil),
reply :: gleam@erlang@process:subject({ok,
distribute@discovery@types:subscription_id()} |
{error, distribute@discovery@types:discovery_error()})
}).