pexpire method

Future<RespType> pexpire(
  1. String key,
  2. Duration timeout
)

Implementation

Future<RespType> pexpire(String key, Duration timeout) async {
  return tier0.execute([
    'PEXPIRE',
    key,
    timeout.inMilliseconds,
  ]);
}