pexpire method

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

pexpire

Implementation

Future<bool> pexpire(String key, Duration timeout) async {
  return await _runWithRetryNew(() async {
    return (await RespCommandsTier1(_client!).pexpire(key, timeout))
            .toInteger()
            .payload ==
        1;
  });
}