v0.1.0 (unreleased)
The first release.
VerifiedPubSub.Manifestdeclares topics, their events, and the fields of the payload of each event.use VerifiedPubSubaddsbroadcast!,broadcast_from!,subscribeand the other macros of the API. They check topics, params, events and literal payloads at compile time. Each broadcast checks a payload that a call site builds at runtime.use VerifiedPubSub.Subscriberaddshandle_messageandignore_message. A subscriber that does not handle or ignore every event on its topics is a compile error.mix igniter.install verified_pubsubadds the formatter import, finds or starts aPhoenix.PubSub, and creates an empty manifest.usage-rules.mdgives rules for coding agents.- The manifest documents itself. Its
@moduledocgets a generated## Topicssection with the wire pattern, the events and the fields of each topic.topic,messageandfieldtake adescriptionthat says what each one means. - VerifiedPubSub requires Elixir 1.16 or later.