using Elsa.Mediator.PublishingStrategies; namespace Elsa.Mediator; /// /// Provides a set of strategies for publishing events. /// public static class NotificationStrategy { /// /// Invokes event handlers in parallel and waits for the result. /// public static readonly FireAndForgetStrategy FireAndForget = new(); /// /// Invokes event handlers in the background and does not wait for the result. /// public static readonly BackgroundProcessingStrategy Background = new(); /// /// Invokes event handlers in parallel and waits for the result. /// public static readonly ParallelProcessingStrategy Parallel = new(); /// /// Invokes event handlers in sequence and waits for the result. /// public static readonly SequentialProcessingStrategy Sequential = new(); }