acquireToken

open suspend override fun acquireToken(): RetryToken

Acquire a token from the token bucket. This method should be called before the initial retry attempt for a block of code. This method may delay if there are already insufficient tokens in the bucket due to prior retry failures or large numbers of simultaneous requests.