Publish the events in another thread

9 meses atrás
Hi,

Currently, when using publish events, consumers block the caller method. If i want to develop a new way to be in a seperated thread. Any ideas?
9 meses atrás
Have you tried:
  await eventPublisher.PublishAsync(...
9 meses atrás
New York wrote:
Have you tried:
  await eventPublisher.PublishAsync(...


It is already implemented by this. I figured out to wrap it in Task.Run