dart_mediator 0.3.0 copy "dart_mediator: ^0.3.0" to clipboard
dart_mediator: ^0.3.0 copied to clipboard

A simple yet highly configurable Mediator implementation that allows sending requests and publishing events.

0.3.0 #

  • Reworked registerFactory methods used on RequestManager, EventManager and PipelineConfigurator to be extension methods (#9)
  • The built-in EventHandler, RequestHandler and PipelineBehavior are now immutable (#9)
  • Only 1 pipeline behavior will be returned if the same instance is registered multiple times using register and registerGeneric methods (#10)
  • RequestManager.unregister added (#11)

0.2.0 #

  • RequestManager.send now only accepts a single generic argument, TResponse, which is the type of the response body. The TRequest type argument has been removed. The type of the Response will be inferred based on the given Request<Response> (#3)

0.1.1 #

  • Add registerFactory and registerFunction methods to RequestManager.

0.1.0 #

  • Initial version.
4
likes
160
pub points
58%
popularity

Publisher

verified publishermatthiware.be

A simple yet highly configurable Mediator implementation that allows sending requests and publishing events.

Repository (GitHub)
View/report issues

Topics

#mediator

Documentation

API reference

License

MIT (license)

Dependencies

meta

More

Packages that depend on dart_mediator