Raxol.Handlers.CloseTerminalHandler (Raxol v2.0.1)

View Source

Handler for closing terminal instances.

Summary

Functions

Executes a command handler with error handling and logging.

Publishes a domain event through the event store.

Publishes multiple domain events as a batch.

Validates business rules before processing command.

Functions

execute_with_handling(command, context, handler_fn)

Executes a command handler with error handling and logging.

publish_event(event, context)

Publishes a domain event through the event store.

publish_events(events, context)

Publishes multiple domain events as a batch.

validate_business_rules(command, rules)

Validates business rules before processing command.