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
registerFactory
methods used onRequestManager
,EventManager
andPipelineConfigurator
to be extension methods (#9) - The built-in
EventHandler
,RequestHandler
andPipelineBehavior
are now immutable (#9) - Only 1 pipeline behavior will be returned if the same instance is registered multiple times using
register
andregisterGeneric
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. TheTRequest
type argument has been removed. The type of the Response will be inferred based on the givenRequest<Response>
(#3)
0.1.1 #
- Add
registerFactory
andregisterFunction
methods toRequestManager
.
0.1.0 #
- Initial version.