예제 #1
0
 /// <summary>异步执行命令</summary>
 /// <typeparam name="T"></typeparam>
 /// <param name="func"></param>
 /// <param name="write">是否写入操作</param>
 /// <returns></returns>
 public virtual async Task <T> ExecuteAsync <T>(Func <RedisClient, Task <T> > func, Boolean write = false) => await Redis.ExecuteAsync(Key, func, write);