/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/SagaStateMachine/SagaStateMachine.cs
23 строки
707 B
Chris Patterson
Integration of all external packages into MassTransit, split out into Abstractions, Middleware, and the core MassTransit assembly.
22 янв 2022, 18:24
22 янв 2022, 18:24
b5b4f50
Код
Авторство
О чём код?
namespace MassTransit { using System.Collections.Generic; using System.Threading.Tasks; public interface SagaStateMachine<TSaga> : StateMachine<TSaga> where TSaga : class, SagaStateMachineInstance { /// <summary> /// Returns the event correlations for the state machine /// </summary> IEnumerable<EventCorrelation> Correlations { get; } /// <summary> /// Returns true if the saga state machine instance is complete and can be removed from the repository /// </summary> /// <param name="context"></param> /// <returns></returns> Task<bool> IsCompleted(BehaviorContext<TSaga> context); } }