Synapse.Signal (Synapse v0.1.1)
View SourceCanonical registry of signal topics and their schemas.
Delegates to Synapse.Signal.Registry so topics can be declared via
configuration or registered at runtime.
Summary
Functions
Registers a topic at runtime.
Resolves a type string (e.g., "review.request") into the canonical topic atom.
Lists all known topics.
Returns the wire-format type for the given topic.
Validates a payload for the provided topic and returns the normalized map.
Types
@type topic() :: atom()
Functions
Registers a topic at runtime.
Resolves a type string (e.g., "review.request") into the canonical topic atom.
@spec topics() :: [topic()]
Lists all known topics.
Returns the wire-format type for the given topic.
Validates a payload for the provided topic and returns the normalized map.