mediator library

Provides the architectural Mediator pattern, with CQRS support.

Mini-libraries:

  • command.dart:
    • Use ICommand to define your commands and their result types.
    • Use ICommandHandler to implement the handlers for your commands.
  • query.dart:
    • Use IQuery to define your queries and their result types.
    • Use IQueryHandler to implement the handlers for your queries.

Classes

Mediator
An implementation for the architectural mediator pattern, with CQRS support.