Reputation: 304
Is there a scenario in which running async operations inside a handler is justified? For example:
public class H1 : IMessageHandler<MyMessage>
{
public async void Handle(MyMessage message)
{
await SendTxt(message);
await SendEmail(message);
}
}
Upvotes: 2
Views: 450
Reputation: 2283
NServiceBus does not support async handlers.
What are you trying to do?
Upvotes: 2