command_bus 1.2.0 copy "command_bus: ^1.2.0" to clipboard
command_bus: ^1.2.0 copied to clipboard

Minimal command bus toolkit with middleware, safe result handling, and examples.

1.2.0 #

  • добавлен generic тип S для передачи состояния в CommandBus<S> и CommandHandler<C, R, S>
  • обработчики теперь получают состояние как второй параметр в методе handle(command, state)

1.1.0 #

  • added Registry class for command-to-handler mapping
  • CommandBus now extends Registry, exposing register/unregister/getHandler API
  • updated pubdev version to 1.1.0

1.0.0 #

  • core API laid out: Command, CommandHandler, CommandBus with middleware and Result
  • custom exceptions, unregister support, README/docs, and comprehensive tests
  • packaged example with middleware, dispatchSafe demo, and usage comments
1
likes
155
points
199
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

Minimal command bus toolkit with middleware, safe result handling, and examples.

Repository (GitHub)
View/report issues

License

MIT (license)

More

Packages that depend on command_bus