RedisCommandOptions constructor

const RedisCommandOptions({
  1. Duration timeout = const Duration(seconds: 3),
  2. Duration retryInterval = const Duration(seconds: 1),
  3. int retryAttempts = 3,
})

Options for sending commands to a Redis server. 向Redis服务器发送命令的选项。

Implementation

const RedisCommandOptions({
  this.timeout = const Duration(seconds: 3),
  this.retryInterval = const Duration(seconds: 1),
  this.retryAttempts = 3,
});