pexpire method
pexpire
Implementation
Future<bool> pexpire(String key, Duration timeout) async {
Object result = await _runWithRetryNew(() async {
return (await RespCommandsTier1(_client!).pexpire(key, timeout));
});
if (result is RespType2<dynamic>) {
return result.toInteger().payload == 1;
}
return (result as RespType3<dynamic>).toInteger().payload == 1;
}