microsoft / vscode-azureresourcegroups

VS Code extension for managing Azure resources.
https://marketplace.visualstudio.com/items?itemName=ms-azuretools.vscode-azureresourcegroups
MIT License
52 stars 28 forks source link

api: Extend `ViewPropertiesModel` to allow async loading of properties #711

Closed alexweininger closed 1 year ago

alexweininger commented 1 year ago

A small change that extends the existing ViewPropertiesModel to allow async loading of properties. It is backwards compatible and requires no changes to client extensions. Client extensions can optionally utilize this feature once this API change is released in the extension.

This change is required so that we can stop making so many requests in getResourceItem for top level resources and decrease loading times.