Comments (3)
In the case of a request without a response, in case you don't have one. Notifications target multiple handlers, also.
from mediatr.
Why you want to know notification will handle once?
You do not wait for response.
You do not know how it is handling.
You do not know was it handled.
All are good, are not?
from mediatr.
Not quite sure I understand you - both Send and Publish block for handlers to respond.
Sometimes Send doesn't have a response, but since C# doesn't let you use a Void type as a type parameter, I had to create a helper interface.
Send = 1 -> 1
Publish = 1 -> *
Send = Request/Response. Sometimes response is null
Publish = Broadcast. Can't have a response.
from mediatr.
Related Issues (20)
- Question:
- Question: How I can setup MediatR 12.1.0 in Ninject module? HOT 2
- How do I register INotification with generics? HOT 2
- long running INotificationHandler HOT 3
- Question: Can multiple MediatR handlers be packaged into a single class HOT 3
- .NET8 upgrade from .NET Core 2.1 : Command cannot be used as type parameter 'TRequest' for 'IRequestHandler<TRequest>' HOT 3
- Irequest in library and handler in web api project HOT 2
- what use net8 aot publish HOT 2
- v12.3.0 Breaking Change HOT 27
- Question: Why IRequestExceptionHandler is not catching? HOT 1
- Question: How to register generic requests HOT 8
- Can't register generic handlers in latest version HOT 5
- Question: Why MediatR does not support ValueTasks ?
- Question: Why MediatR does not support ValueTasks ? HOT 2
- Generic Handler implementation only handles single generic argument and breaks existing implementations HOT 9
- Validation is not invoked when IRequest has no Result
- Handlers for interfaced notifications are not working as expected
- AddOpenBehavior doesn't register pipeline behaviors with nested generic parameters HOT 1
- Is there support for response types as tuples? HOT 2
- #1048 and v12.4.0 breaks RequestExceptionProcessorBehavior HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mediatr.