commanded v0.12.0 Commanded.Aggregates.AggregateLifespan behaviour

Summary

Callbacks

After specified timeout aggregate process will be stoped

Types

command()
command() :: struct
timeout_or_action()
timeout_or_action() :: timeout | :hibernate

Callbacks

after_command(command)
after_command(command) :: timeout_or_action

After specified timeout aggregate process will be stoped.

Timeout begins at start of processing a command.