Skip to content

Commit

Permalink
Update readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
aritchie committed Jun 1, 2024
1 parent 7c74c25 commit 2f50a62
Showing 1 changed file with 2 additions and 7 deletions.
9 changes: 2 additions & 7 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,9 @@ were aimed more at server scenarios, while also adding some features we feel ben
## Features
* A Mediator for your .NET Apps (MAUI & Blazor are the main targets for us)
* Think of "weak" message subscription without the fuss or mess to cleanup
* Fire & Forget as well as Parallel Event execution
* Our MAUI & Blazor integrations allow your viewmodels or pages to implement an IEventHandler<TEvent> interface(s) without them having to participate in the dependency injection provider
* We still have a "messagingcenter" type subscribe off IMediator for cases where you can't have your current type implement an interface
* Instead of Assembly Scanning, we have source generators to automatically wireup the necessary registrations for you!
* Instead of Assembly Scanning, we have source generators to automatically wireup the necessary registrations for you! (WIP)
* Lightweight, No external dependencies, tiny bit of reflection
* Help remove service overrun and reduce your constructor fat
* Easy to Unit Test
Expand Down Expand Up @@ -115,7 +114,6 @@ public class MyViewModel(Shiny.Mediator.IMediator mediator)
// this will publish to any service registered that implement IEventHandler<TestEvent>
// there are additional args here to allow you to execute values in sequentially or wait for all events to complete
// by default, publish calls are "fire & forget" under the hood and execute in parallel
await mediator.Publish(new TestEvent());
}
}
Expand Down Expand Up @@ -165,10 +163,7 @@ Focus on the interfaces from the mediator & the mediator calls itself
* Have a Shiny Push Delegate that is executing on the delegate but want to push it to the UI, Mediator has a plan!

## TODO
* Pipelines
* Error handlers - requests and events?
* Pre/Post Execution - Time how long events took, time how long a command took
* Explain Event Handlers
* Explain Event Collectors
* Streams - IAsyncEnumerable or IObservable
* Source Generator Registration
* Need to use a different method or not use extension methods - maybe AddHandlersFromAssemblyName or allow it to be custom named
Expand Down

0 comments on commit 2f50a62

Please sign in to comment.