< Summary

Information
Class: Elsa.Mediator.NotificationStrategy
Assembly: Elsa.Mediator
File(s): /home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/NotificationStrategy.cs
Line coverage
100%
Covered lines: 3
Uncovered lines: 0
Coverable lines: 3
Total lines: 24
Line coverage: 100%
Branch coverage
N/A
Covered branches: 0
Total branches: 0
Branch coverage: N/A
Method coverage

Feature is only available for sponsors

Upgrade to PRO version

Metrics

MethodBranch coverage Crap Score Cyclomatic complexity Line coverage
.cctor()100%11100%

File(s)

/home/runner/work/elsa-core/elsa-core/src/common/Elsa.Mediator/NotificationStrategy.cs

#LineLine coverage
 1using Elsa.Mediator.PublishingStrategies;
 2
 3namespace Elsa.Mediator;
 4
 5/// <summary>
 6/// Provides a set of strategies for publishing events.
 7/// </summary>
 8public static class NotificationStrategy
 9{
 10    /// <summary>
 11    /// Invokes event handlers in the background and does not wait for the result.
 12    /// </summary>
 113    public static readonly BackgroundProcessingStrategy Background = new();
 14
 15    /// <summary>
 16    /// Invokes event handlers in parallel and waits for the result.
 17    /// </summary>
 118    public static readonly ParallelProcessingStrategy Parallel = new();
 19
 20    /// <summary>
 21    /// Invokes event handlers in sequence and waits for the result.
 22    /// </summary>
 123    public static readonly SequentialProcessingStrategy Sequential = new();
 24}

Methods/Properties

.cctor()