﻿using LionFire.Results;
using System.Threading.Tasks;

namespace LionFire.Resolves
{
    public interface IPuts<in T>
    {
        /// <summary>
        /// Set the current Value to value, and initiate a Put to the underlying data store with that value.
        /// </summary>
        /// <param name="value"></param>
        /// <returns></returns>
        Task<ISuccessResult> Put(T value);
    }
}

{'avg_line_length': 25.1875, 'max_line_length': 108, 'alphanum_fraction': 0.6054590570719603, 'licenses': ['MIT'], 'repository_name': 'LionFire/Core', 'path': 'src/LionFire.Resolves.Abstractions/Commits/IPuts{T}.cs', 'size': 405, 'lang': 'C#'}