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.
|key||string||the key to set|
|value||any||the value to set|
|expiration||integer||the time to live in seconds. the 0 value indicates no expiration.|
|Type||Resolves with||Rejected when|
|Promise<string>||On success, the promise resolves with 'OK'.||If the provided value is not of a supported type, the promise is rejected with an error.|