1
0
mirror of synced 2024-11-22 17:23:49 +00:00
Tapeti/Tapeti.Flow/Default/NonPersistentFlowRepository.cs

30 lines
714 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
namespace Tapeti.Flow.Default
{
2017-08-14 11:58:01 +00:00
public class NonPersistentFlowRepository : IFlowRepository
{
2017-08-14 11:58:01 +00:00
Task<List<KeyValuePair<Guid, T>>> IFlowRepository.GetStates<T>()
{
return Task.FromResult(new List<KeyValuePair<Guid, T>>());
}
2017-08-14 11:58:01 +00:00
public Task CreateState<T>(Guid flowID, T state, DateTime timestamp)
{
return Task.CompletedTask;
}
2017-08-14 11:58:01 +00:00
public Task UpdateState<T>(Guid flowID, T state)
{
return Task.CompletedTask;
}
public Task DeleteState(Guid flowID)
{
return Task.CompletedTask;
}
}
}