Skip to content

Ability to get delay time from RateLimiter #3065

@cowwoc

Description

@cowwoc

I am implementing a rate-limited non-blocking thread pool. Upon hitting the rate limit, I would like a timer to wake up threads when the next permit is expected to expire. Please provide a method that returns the minimum amount of time the caller would have to wait before the next permit can be acquired.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions