BotSharp/BotSharp.Platform.Abstraction/IContextStorage.cs
2018-12-09 09:57:34 -06:00

14 lines
299 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using System.Threading.Tasks;
namespace BotSharp.Platform.Abstraction
{
public interface IContextStorage<T>
{
Task<bool> Persist(string sessionId, T[] context);
Task<T[]> Fetch(string sessionId);
}
}