remainingMillis

Returns the remaining time until the specified key is allowed to be used again, in milliseconds.

Return

the remaining time in milliseconds, or 0 if it is already allowed or not found

Parameters

key

the key to check