/
vshmidt
/
masstransit
Обзор
Документация
Войти
/
vshmidt
/
masstransit
Код
Запросы
0
Задачи
Вики
Пакеты
0
Релизы
0
Аналитика
Безопасность
develop
src/MassTransit/Caching/INode.cs
33 строки
877 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.Caching { using System.Threading.Tasks; public interface INode<TValue> where TValue : class { /// <summary> /// The cached value /// </summary> Task<TValue> Value { get; } /// <summary> /// True if the node has a value, resolved, ready to rock /// </summary> bool HasValue { get; } /// <summary> /// True if the node value is invalid /// </summary> bool IsValid { get; } /// <summary> /// Get the node's value, passing a pending value if for some /// reason the node's value has not yet been accepted or has /// expired. /// </summary> /// <param name="pendingValue"></param> /// <returns></returns> Task<TValue> GetValue(IPendingValue<TValue> pendingValue); } }