View Source API Reference Sorcery v0.1.0

Modules

Sorcery is a toolkit for building event-driven applications in Elixir.

Manages auto-starting of domains and services.

A powerful macro for defining event-sourced domains in a declarative way.

Registry for domain processes.

The server component that manages domain instances and processes commands.

Defines the structure of an event in the system.

Provides a clean interface for storing and retrieving events.

Defines the behavior that event stores must implement.

A simple in-memory implementation of the Store behavior. Events are stored in the GenServer's state as a list.

Provides a clean interface for publishing and subscribing to events.

Defines a service that can handle events from domains. Services are used to handle side effects (like sending emails) or to maintain read models (views).