commanded v0.10.0 API Reference

Modules

Process to provide access to a single event sourced aggregate root

Supervise zero, one or more event sourced aggregates

Command routing macro to allow configuration of each command to its command handler

Map raw events to event data structs ready to be persisted to the event store

Defines the behaviour to be implemented by an event store adapter to be used by Commanded

An in-memory event store adapter useful for testing as no persistence provided

EventData contains the data for a single event before being persisted to storage

Contains the persisted stream identity, type, data, and metadata for a single event

Specification of a serializer to convert between an Elixir term and binary data

Specification to convert between an Elixir struct and a corresponding string type

Middleware provides an extension point to add functions that you want to be called for every command the router dispatches

Pipeline is a struct used as an argument in the callback functions of modules implementing the Commanded.Middleware behaviour

Behaviour to define a process manager

Defines an instance of a process manager

Process router is responsible for starting, continuing and completing process managers in response to raised domain events

Supervise zero, one or more process manager instances

A serializer that uses the JSON format

A type provider that uses the Elixir module name

Protocols