Skip to content

5.1.0

Compare
Choose a tag to compare
@jbogard jbogard released this 30 Jul 15:21
· 341 commits to master since this release
8907530

This release changes the default behavior of awaiting an enumerable of Task. Previous to this release, tasks where awaited using Task.WhenAll. This causes problems in a variety of environments and situations that expect sequential ordering.

In this release, the default behavior for enumerables is to await in a foreach, for:

  • Mediator.Publish
  • RequestPreProcessorBehavior
  • RequestPostProcessorBehavior

You can override the Mediator.Publish behavior by overriding the virtual PublishCore method, while the other two you can simply replace with your own implementation.