IRedisTypedQueueableOperationAsync<T>
interface to queueable operation using typed redis client
Assembly: ServiceStack.Interfaces.dll
View Source
Declaration
public interface IRedisTypedQueueableOperationAsync<T>
Methods
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask>, Action, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask> command, Action onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask> | command |
System.Action | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<Int32>>, Action<Int32>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<int>> command, Action<int> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Int32>> | command |
System.Action<System.Int32> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<Int64>>, Action<Int64>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<long>> command, Action<long> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Int64>> | command |
System.Action<System.Int64> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<Boolean>>, Action<Boolean>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<bool>> command, Action<bool> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Boolean>> | command |
System.Action<System.Boolean> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<Double>>, Action<Double>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<double>> command, Action<double> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Double>> | command |
System.Action<System.Double> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<Byte[]>>, Action<Byte[]>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<byte[]>> command, Action<byte[]> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Byte[]>> | command |
System.Action<System.Byte[]> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<String>>, Action<String>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<string>> command, Action<string> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.String>> | command |
System.Action<System.String> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<T>>, Action<T>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<T>> command, Action<T> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<<T>>> | command |
System.Action<<T>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<List<String>>>, Action<List<String>>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<List<string>>> command, Action<List<string>> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Collections.Generic.List<System.String>>> | command |
System.Action<System.Collections.Generic.List<System.String>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<HashSet<String>>>, Action<HashSet<String>>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<HashSet<string>>> command, Action<HashSet<string>> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Collections.Generic.HashSet<System.String>>> | command |
System.Action<System.Collections.Generic.HashSet<System.String>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |
QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<List<T>>>, Action<List<T>>, Action<Exception>)
View Source
Declaration
void QueueCommand(Func<IRedisTypedClientAsync<T>, ValueTask<List<T>>> command, Action<List<T>> onSuccessCallback = null, Action<Exception> onErrorCallback = null)
Parameters
Type | Name |
---|---|
System.Func<ServiceStack.Redis.Generic.IRedisTypedClientAsync<<T>>,ValueTask<System.Collections.Generic.List<<T>>>> | command |
System.Action<System.Collections.Generic.List<<T>>> | onSuccessCallback |
System.Action<System.Exception> | onErrorCallback |