redis/hset
Set fields in a hash and return the count of new fields added
const app = mvfm(prelude, redis);
const prog = app({}, ($) => {
return $.redis.hset("user:1", { name: "Alice", email: "alice@example.com" });
});
await fold(
defaults(app, { redis: memoryRedisInterpreter }),
prog
); Ctrl+Enter