dart_mediator 0.4.0 dart_mediator: ^0.4.0 copied to clipboard
A simple yet highly configurable Mediator implementation that allows sending requests and publishing events.
0.4.0 #
- Fix events not using correct type (#25)
0.3.2 #
- Add
combineLatest
,merge
andzip
event extension methods (#20) - Add
sendStream
method toRequestManager
(#21) - Add more cancellation functionality (#19)
0.3.1 #
- Avoid concurrent modification errors (#14)
- Remove empty event handlers assert (#15)
- Fix unhandled exception when using multiple concrete pipelines (#17)
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.