This package initially seemed ideal for my use case - It supports refilling at a certain rate (so limits such as 10 per 2 minutes are possible) however only exposing Take means that it can't be used in a context where you want to return a 429 HTTP response (this would block the response which is not the behaviour I'm looking for).
I have seen mentioned on other issues that no other features are planned, but I wanted to ask - if I made a pull request which supported an Allow method which simply returns whether a call to Take would block or not, would a merge be considered for this?
This package initially seemed ideal for my use case - It supports refilling at a certain rate (so limits such as 10 per 2 minutes are possible) however only exposing
Takemeans that it can't be used in a context where you want to return a429 HTTPresponse (this would block the response which is not the behaviour I'm looking for).I have seen mentioned on other issues that no other features are planned, but I wanted to ask - if I made a pull request which supported an
Allowmethod which simply returns whether a call toTakewould block or not, would a merge be considered for this?