MediatR icon indicating copy to clipboard operation
MediatR copied to clipboard

Question: Orchestrate backend events

Open brazilianhue opened this issue 3 years ago • 1 comments

I'm looking for a way to orchestrate commands / notifications but I dont know the best approach to do that.

In my case I have a request -> command -> rabbitmq events / subscriber triggering a response notification -> and I want to wait all occour to send a response back to customer (in the same HTTP request/response).

How can I achieve this?

brazilianhue avatar Feb 20 '22 06:02 brazilianhue

This is not a good idea. Instead, you should use some web socket solution like Signal R to return the result asynchronously.

eskaufel avatar Feb 20 '22 07:02 eskaufel