View Source Commanded.Middleware.ConsistencyGuarantee (Commanded v1.4.6)

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.

Summary

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.