PluralKit/PluralKit.Core/Database/Wrappers/IPKTransaction.cs

9 lines
240 B
C#
Raw Normal View History

2020-06-13 16:49:05 +00:00
using System.Data;
namespace PluralKit.Core;
public interface IPKTransaction: IDbTransaction, IAsyncDisposable
2020-06-13 16:49:05 +00:00
{
public Task CommitAsync(CancellationToken ct = default);
public Task RollbackAsync(CancellationToken ct = default);
2020-06-13 16:49:05 +00:00
}