Sets a timeout on key. After the timeout has expired, the key will automatically be deleted.
The key to expire.
The timeout in unix milliseconds timestamp as int or a datetime.datetime object.
Set expiry only when the key has no expiry
Set expiry only when the key has an existing expiry
Set expiry only when the new expiry is greater than current one
Set expiry only when the new expiry is less than current one
True
if the timeout was set