ExecutionResult

data class ExecutionResult<T>(result: T?, consumptionData: RateLimiter.ConsumptionData)

Properties

Link copied to clipboard
val consumptionData: RateLimiter.ConsumptionData

true if a token was consumed, false otherwise

Link copied to clipboard
val result: T?

The result of the execution if a token was consumed, null otherwise