dart_mediator 0.3.0
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
registerFactorymethods used onRequestManager,EventManagerandPipelineConfiguratorto be extension methods (#9) - The built-in
EventHandler,RequestHandlerandPipelineBehaviorare now immutable (#9) - Only 1 pipeline behavior will be returned if the same instance is registered multiple times using
registerandregisterGenericmethods (#10) RequestManager.unregisteradded (#11)
0.2.0 #
RequestManager.sendnow only accepts a single generic argument,TResponse, which is the type of the response body. TheTRequesttype argument has been removed. The type of the Response will be inferred based on the givenRequest<Response>(#3)
0.1.1 #
- Add
registerFactoryandregisterFunctionmethods toRequestManager.
0.1.0 #
- Initial version.