/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/Transports/ReceiveLockContext.cs
31 строка
782 B
Chris Patterson
Working on #1576 - Added mediator, which enabled message dispatch to a receive pipe, entirely in-memory, no transport and no serialization. Also added common receive pipe dispatcher to try up transport logic.
19 фев 2020, 17:06
19 фев 2020, 17:06
76c96e4
Код
Авторство
О чём код?
namespace MassTransit.Transports { using System; using System.Threading.Tasks; /// <summary> /// Encapsulates a transport lock /// </summary> public interface ReceiveLockContext { /// <summary> /// Called to complete the message /// </summary> /// <returns></returns> Task Complete(); /// <summary> /// Called if the message was faulted. This method should NOT throw an exception. /// </summary> /// <param name="exception"></param> /// <returns></returns> Task Faulted(Exception exception); /// <summary> /// Validate that the lock is still valid /// </summary> /// <returns></returns> Task ValidateLockStatus(); } }