Example #1
0
 public async Task <IRedisClient> GetClientAsync(CancellationToken cancellationToken = default)
 {
     return(new RedisClient(await _redisStore.GetDatabaseAsync(DATABASE_INDEX, alwaysNewDatabase: true, token: cancellationToken), loggerFactory: _loggerFactory));
 }