commanded v0.10.0 Commanded.Helpers.CommandAuditMiddleware

Summary

Functions

Get the counts of the dispatched, succeeded, and failed commands

Access the dispatched commands the middleware received

Access the dispatched commands that failed to execute

Access the dispatched commands that successfully executed

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.

count_commands()

Get the counts of the dispatched, succeeded, and failed commands

dispatched_commands()

Access the dispatched commands the middleware received

failed_commands()

Access the dispatched commands that failed to execute

start_link()
succeeded_commands()

Access the dispatched commands that successfully executed