Set the value of a key, with a time to live equal to the expiration time parameter (in seconds). If the key already holds a value, it is overwritten.
|the key to set
|string, number, or boolean
|the value to set
|the time to live in seconds. the 0 value indicates no expiration.
|On success, the promise resolves with 'OK'.
|If the provided value is not of a supported type, the promise is rejected with an error.