mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
13 lines
No EOL
333 B
C#
13 lines
No EOL
333 B
C#
using System;
|
|
using System.Data;
|
|
using System.Threading;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace PluralKit.Core
|
|
{
|
|
public interface IPKTransaction: IDbTransaction, IAsyncDisposable
|
|
{
|
|
public Task CommitAsync(CancellationToken ct = default);
|
|
public Task RollbackAsync(CancellationToken ct = default);
|
|
}
|
|
} |