tryAcquire

suspend fun tryAcquire(): Boolean(source)

Tries to acquire a permit within the sliding window.

Return

true if permit was acquired, false otherwise