API Reference saga_weaver v0.2.0

Modules

The SagaWeaver module serves as the primary interface for executing and retrieving sagas within the SagaWeaver framework. It provides functions to orchestrate sagas based on incoming messages and to access existing saga instances.

The SagaWeaver.Adapters.StorageAdapter module defines the behaviour and provides an interface for storage adapters used by the SagaWeaver framework.

The SagaWeaver.Identifiers.DefaultIdentifier module provides a default implementation for generating unique saga identifiers within the SagaWeaver framework.

This module is responsible for generating unique identifiers for sagas.

The SagaWeaver.Orchestrator module is responsible for orchestrating the execution of sagas within the SagaWeaver framework. It handles the initiation, retrieval, execution, and completion of saga instances based on incoming messages.

The SagaWeaver.Saga module provides a macro to simplify the creation of sagas within the SagaWeaver framework. By using SagaWeaver.Saga, developers can define sagas that orchestrate complex, long-running transactions across multiple services or operations.