using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace Tapeti.Flow.Default
{
///
/// Default implementation for IFlowRepository. Does not persist any state, relying on the FlowStore's cache instead.
///
public class NonPersistentFlowRepository : IFlowRepository
{
ValueTask>> IFlowRepository.GetStates()
{
return new ValueTask>>(Enumerable.Empty>());
}
///
public ValueTask CreateState(Guid flowID, T state, DateTime timestamp)
{
return default;
}
///
public ValueTask UpdateState(Guid flowID, T state)
{
return default;
}
///
public ValueTask DeleteState(Guid flowID)
{
return default;
}
}
}