Cizen v0.12.2 Cizen.CizenSagaRegistry View Source

The registry to store all sagas in Cizen.

Link to this section Summary

Functions

Returns the pid for the given saga ID

Returns the saga struct for the given saga ID

Link to this section Functions

Link to this function get_pid(id) View Source
get_pid(Cizen.SagaID.t()) :: {:ok, pid()} | :error

Returns the pid for the given saga ID.

Link to this function get_saga(id) View Source
get_saga(Cizen.SagaID.t()) :: {:ok, Cizen.Saga.t()} | :error

Returns the saga struct for the given saga ID.