1
0
mirror of synced 2024-09-28 19:56:09 +00:00
Tapeti/Tapeti.Saga/ISagaProvider.cs

12 lines
285 B
C#

using System.Threading.Tasks;
namespace Tapeti.Saga
{
public interface ISagaProvider
{
Task<ISaga<T>> Begin<T>(T initialState) where T : class;
Task<ISaga<T>> Continue<T>(string sagaId) where T : class;
Task<object> Continue(string sagaId);
}
}