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
Type | Name |
---|---|
System.Threading.CancellationToken | token |
RollbackAsync(CancellationToken)
View Source
Declaration
ValueTask RollbackAsync(CancellationToken token = default(CancellationToken))
Returns
ValueTask
Parameters
Type | Name |
---|---|
System.Threading.CancellationToken | token |