isRateLimited

private fun isRateLimited(permits: Int): Boolean(source)

Determines if the request should be rate limited based on the current state of the semaphore.

Parameters

permits

The number of permits requested.