update

abstract suspend fun update(errorType: RetryErrorType?)

Update the rate limiter with the result of a transaction. The rate limiter may use this information to adjust the number of available permits or the rate at which permits refill.

Parameters

errorType

The type of error that resulted from the last transaction. A value of null indicates the transaction was successful.