type MyType = { a: number; b: string; } await redis.getdel<MyType>("key"); // returns {a: 1, b: "2"}
Return the value of the specified key and delete the key.
null
Was this page helpful?