Skip to content

Commit

Permalink
Merge pull request #777 from lucianodelucchi/patch-1
Browse files Browse the repository at this point in the history
chore: fix typos
  • Loading branch information
jbogard authored Sep 30, 2022
2 parents 390da5d + d1d4b06 commit 2fc97a2
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions samples/MediatR.Examples.PublishStrategies/PublishStrategy.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,17 @@ public enum PublishStrategy
Async = 2,

/// <summary>
/// Run each notification handler on it's own thread using Task.Run(). Returns immediately and does not wait for any handlers to finish. Note that you cannot capture any exceptions, even if you await the call to Publish.
/// Run each notification handler on its own thread using Task.Run(). Returns immediately and does not wait for any handlers to finish. Note that you cannot capture any exceptions, even if you await the call to Publish.
/// </summary>
ParallelNoWait = 3,

/// <summary>
/// Run each notification handler on it's own thread using Task.Run(). Returns when all threads (handlers) are finished. In case of any exception(s), they are captured in an AggregateException by Task.WhenAll.
/// Run each notification handler on its own thread using Task.Run(). Returns when all threads (handlers) are finished. In case of any exception(s), they are captured in an AggregateException by Task.WhenAll.
/// </summary>
ParallelWhenAll = 4,

/// <summary>
/// Run each notification handler on it's own thread using Task.Run(). Returns when any thread (handler) is finished. Note that you cannot capture any exceptions (See msdn documentation of Task.WhenAny)
/// Run each notification handler on its own thread using Task.Run(). Returns when any thread (handler) is finished. Note that you cannot capture any exceptions (See msdn documentation of Task.WhenAny)
/// </summary>
ParallelWhenAny = 5,
}
}

0 comments on commit 2fc97a2

Please sign in to comment.