using Elsa.Mediator.CommandStrategies;
namespace Elsa.Mediator;
///
/// Provides a set of strategies for publishing events.
///
public static class CommandStrategy
{
///
/// Invokes command handlers in parallel and waits for the result.
///
public static readonly DefaultStrategy Default = new();
///
/// Invokes command handlers in the background and does not wait for the result.
///
public static readonly BackgroundStrategy Background = new();
}