firebase-functions-rate-limiter icon indicating copy to clipboard operation
firebase-functions-rate-limiter copied to clipboard

isQuotaExceededOrRecordUsage is deprecated warning

Open jasan-s opened this issue 4 years ago • 3 comments

using: limiter.isQuotaExceededOrRecordUsage(account_id)

Screen Shot 2020-12-25 at 12 10 31 AM

jasan-s avatar Dec 25 '20 08:12 jasan-s

I think you should rejectOnQuotaExceededOrRecordUsage method from now on, but the documentation is not updated yet. Correct me if I am wrong ;)

bashoogzaad avatar Dec 29 '20 09:12 bashoogzaad

@bashoogzaad i can def think of many scenerios where automatic error throw may not be desirable. so awaiting for @Jblew to address this.

jasan-s avatar Jan 01 '21 01:01 jasan-s

It's been a couple of years now, it doesn't look like developers of this package support this project any longer. Are there any alternative packages without needing to rebuild this functionality from scratch?

chicagocomputerclasses avatar Mar 26 '23 19:03 chicagocomputerclasses