/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/SagaStateMachine/Configuration/CompositeEventOptions.cs
26 строк
571 B
Chris Patterson
Added Composite Event Option to raise the composite event only once, regardless of how many times the dependent events are raised.
04 апр 2023, 15:50
04 апр 2023, 15:50
58387cc
Код
Авторство
О чём код?
namespace MassTransit { using System; [Flags] public enum CompositeEventOptions { None = 0, /// <summary> /// Include the composite event in the initial state /// </summary> IncludeInitial = 1, /// <summary> /// Include the composite event in the final state /// </summary> IncludeFinal = 2, /// <summary> /// Specifies that the composite event should only be raised once and ignore any subsequent events /// </summary> RaiseOnce = 4, } }