Skip to main content

IRedisTransactionAsync

Interface to redis transaction

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisTransactionAsync : IRedisTransactionBaseAsync, IRedisPipelineSharedAsync, IRedisQueueCompletableOperationAsync, IRedisQueueableOperationAsync

Methods

CommitAsync(CancellationToken)

View Source
Declaration
ValueTask<bool> CommitAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask<System.Boolean>

Parameters
TypeName
System.Threading.CancellationTokentoken

RollbackAsync(CancellationToken)

View Source
Declaration
ValueTask RollbackAsync(CancellationToken token = default(CancellationToken))
Returns

ValueTask

Parameters
TypeName
System.Threading.CancellationTokentoken