-
-
Notifications
You must be signed in to change notification settings - Fork 225
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Default throttling should be set #24
Comments
I'm working on it and it seems a little odd, because throttling needs to be set throught the qr reader class instantiation. Things can get a little unperformant if I bind this behavior to an |
As I told you it can be injected. I will add the link from the docs later. |
If you know how to do, add your snippet here and I will properly add to the project, or make a PR. 😁 |
They are called injection tokens. Here is the docs: https://angular.io/guide/dependency-injection#dependency-injection-tokens If I have time I will make the changes. |
Can we close that now? |
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Why change an existing behavior?
The default throttling is now 1500ms. It may differ for applications.
Expected behavior
There should be an providable config object also for the configurations maybe added later.
The text was updated successfully, but these errors were encountered: