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

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

after_dispatch(pipeline)

Callback implementation for Commanded.Middleware.after_dispatch/1.

after_failure(pipeline)

Callback implementation for Commanded.Middleware.after_failure/1.

before_dispatch(pipeline)

Callback implementation for Commanded.Middleware.before_dispatch/1.