/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Scheduling/MessageRedeliveryContext.cs
20 строк
724 B
Chris Patterson
Adding nullability to abstractions, and fixing warnings
15 фев 2022, 17:36
15 фев 2022, 17:36
8a72e94
Код
Авторство
О чём код?
namespace MassTransit { using System; using System.Threading.Tasks; /// <summary> /// Used to reschedule delivery of the current message /// </summary> public interface MessageRedeliveryContext { /// <summary> /// Schedule the message to be redelivered after the specified delay with given operation. /// </summary> /// <param name="delay">The minimum delay before the message will be redelivered to the queue</param> /// <param name="callback">Operation which perform during message redeliver to queue</param> /// <returns></returns> Task ScheduleRedelivery(TimeSpan delay, Action<ConsumeContext, SendContext>? callback = null); } }