Commanded v1.0.0 Commanded.Middleware.ConsistencyGuarantee View Source

An internal Commanded.Middleware that blocks after successful command dispatch until the requested dispatch consistency has been met.

Only applies when the requested consistency is :strong. Has no effect for :eventual consistency.

Link to this section Summary

Link to this section Functions

Link to this function

after_dispatch(pipeline)

View Source

Callback implementation for Commanded.Middleware.after_dispatch/1.

Callback implementation for Commanded.Middleware.after_failure/1.

Link to this function

before_dispatch(pipeline)

View Source

Callback implementation for Commanded.Middleware.before_dispatch/1.