Mgetdel
Bun

method

RedisClient.getdel

key: KeyLike
): Promise<null | string>;

Get the value of a key and delete the key

@param key

The key to get and delete

@returns

Promise that resolves with the value of the key, or null if the key doesn't exist

Referenced types

type KeyLike = string | ArrayBufferView | Blob