set method
set
Implementation
Future<Set> set(
Object key,
Object value, {
Duration? ex,
DateTime? exat,
Duration? px,
DateTime? pxat,
bool nx = false,
bool xx = false,
bool get = false,
}) async {
RespType<dynamic> result = await _runWithRetryNew(() async {
return (await RespCommandsTier1(_client!).set(
key,
value,
ex: ex,
exat: exat,
px: px,
pxat: pxat,
nx: nx,
xx: xx,
get: get,
));
});
return Set.fromResult(result);
}