remainingMillis

Returns the remaining cooldown time in milliseconds for the specified key.

Return

the remaining time in milliseconds, or 0 if the cooldown has expired or the key is not found

Parameters

key

the key to check the remaining cooldown for