Skip to main content

IRedisQueueableOperationAsync

interface to operation that can queue commands

Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisQueueableOperationAsync

Methods

QueueCommand(Func<IRedisClientAsync, ValueTask>, Action, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask> command, Action onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask>command
System.ActiononSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Int32>>, Action<Int32>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<int>> command, Action<int> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Int32>>command
System.Action<System.Int32>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Int64>>, Action<Int64>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<long>> command, Action<long> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Int64>>command
System.Action<System.Int64>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Boolean>>, Action<Boolean>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<bool>> command, Action<bool> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Boolean>>command
System.Action<System.Boolean>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Double>>, Action<Double>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<double>> command, Action<double> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Double>>command
System.Action<System.Double>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Byte[]>>, Action<Byte[]>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<byte[]>> command, Action<byte[]> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Byte[]>>command
System.Action<System.Byte[]>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Byte[][]>>, Action<Byte[][]>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<byte[][]>> command, Action<byte[][]> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Byte[][]>>command
System.Action<System.Byte[][]>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<String>>, Action<String>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<string>> command, Action<string> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.String>>command
System.Action<System.String>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<List<String>>>, Action<List<String>>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<List<string>>> command, Action<List<string>> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Collections.Generic.List<System.String>>>command
System.Action<System.Collections.Generic.List<System.String>>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<HashSet<String>>>, Action<HashSet<String>>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<HashSet<string>>> command, Action<HashSet<string>> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Collections.Generic.HashSet<System.String>>>command
System.Action<System.Collections.Generic.HashSet<System.String>>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<Dictionary<String, String>>>, Action<Dictionary<String, String>>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<Dictionary<string, string>>> command, Action<Dictionary<string, string>> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<System.Collections.Generic.Dictionary<System.String,System.String>>>command
System.Action<System.Collections.Generic.Dictionary<System.String,System.String>>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<RedisData>>, Action<RedisData>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<RedisData>> command, Action<RedisData> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<ServiceStack.Redis.RedisData>>command
System.Action<ServiceStack.Redis.RedisData>onSuccessCallback
System.Action<System.Exception>onErrorCallback

QueueCommand(Func<IRedisClientAsync, ValueTask<RedisText>>, Action<RedisText>, Action<Exception>)

View Source
Declaration
void QueueCommand(Func<IRedisClientAsync, ValueTask<RedisText>> command, Action<RedisText> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
TypeName
System.Func<ServiceStack.Redis.IRedisClientAsync,ValueTask<ServiceStack.Redis.RedisText>>command
System.Action<ServiceStack.Redis.RedisText>onSuccessCallback
System.Action<System.Exception>onErrorCallback