microsoft / vscode-azuretools

Common packages for building Azure extensions for VS Code
MIT License
106 stars 66 forks source link

utils: Add API to dispose single readonly content #1720

Closed JasonYeMSFT closed 4 months ago

JasonYeMSFT commented 4 months ago

With this new API, I plan to implement a policy that limits the maximum number of read-only contents an extension can cache by disposing the least recently added content when the limit is exceeded. That policy will live outside the util package. It will be up to each extension to decide whether/how to limit its read-only content caching..