Mpersist
Bun

method

RedisClient.persist

key: KeyLike
): Promise<number>;

Remove the expiration from a key

@param key

The key to persist

@returns

Promise that resolves with 1 if the timeout was removed, 0 if the key doesn't exist or has no timeout

Referenced types

type KeyLike = string | ArrayBufferView | Blob