/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit.Abstractions/Contexts/FaultedActivityOptions.cs
32 строки
1008 B
Chris Patterson
Add the ability to delay execute of the next routing slip activity, as well as a new callback for setting variables, setting the delay.
17 мар 2025, 19:28
17 мар 2025, 19:28
bfa161f
Код
Авторство
О чём код?
namespace MassTransit; using System; using System.Collections.Generic; public interface FaultedActivityOptions { /// <summary> /// When specified, uses the scheduler to delay execution of the next activity by the specified duration /// </summary> TimeSpan? Delay { set; } /// <summary> /// Add or update the variables on the routing slip with the specified object (properties are mapped to variables) /// </summary> /// <param name="variables"></param> void SetVariables(object variables); /// <summary> /// Add or update the variables on the routing slip with the specified values /// </summary> /// <param name="variables"></param> void SetVariables(IEnumerable<KeyValuePair<string, object>> variables); /// <summary> /// Add or update the variable on the routing slip with the specified object /// </summary> /// <param name="key"></param> /// <param name="value"></param> void SetVariable(string key, object value); }