ExecutionResult

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

Constructors

Link copied to clipboard
constructor(result: T?, consumptionData: RateLimiter.ConsumptionData)

Properties

Link copied to clipboard

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