1
0
mirror of synced 2024-07-09 03:20:37 +00:00
Tapeti/Tapeti.Saga/ISagaProvider.cs

12 lines
278 B
C#
Raw Normal View History

2016-12-07 09:19:16 +00:00
using System.Threading.Tasks;
namespace Tapeti.Saga
{
public interface ISagaProvider
{
Task<ISaga<T>> Begin<T>() where T : class;
Task<ISaga<T>> Continue<T>(string sagaId) where T : class;
Task<ISaga<T>> Current<T>() where T : class;
}
}