We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
maxSize
const cache = new QuickLRU({ maxSize: 10 }); /// cache.maxSize ???
When using resize to update maxSize, you may need to compare the new and old maxSizes.
resize
The text was updated successfully, but these errors were encountered:
187fa5b
Quick job. It can be obtained through maxSize, but it must be set through resize. Is it better to define the getter and setter for maxSize?
Sorry, something went wrong.
Yeah, not worth removing resize, but we could make maxSize setter just call it internally.
No branches or pull requests
When using
resize
to updatemaxSize
, you may need to compare the new and old maxSizes.The text was updated successfully, but these errors were encountered: