Use synchronous APIs for AppExtensionCatalog #19776

Open
opened 2026-01-31 06:53:18 +00:00 by claunia · 1 comment
Owner

Originally created by @lhecker on GitHub (Apr 28, 2023).

MSFT-43215694 added IAppExtensionCatalog2::FindAll and IAppExtension3::GetPublicFolder. If they release publicly, we should use those in the settings model because extractValueFromTaskWithoutMainThreadAwait is slow, wrong and pain (just that one call to FindAllAsync + await is like 4% of the total startup cost). I personally wouldn't even keep the old code because of that.

Originally created by @lhecker on GitHub (Apr 28, 2023). MSFT-43215694 added `IAppExtensionCatalog2::FindAll` and `IAppExtension3::GetPublicFolder`. _If_ they release publicly, we should use those in the settings model because `extractValueFromTaskWithoutMainThreadAwait` is slow, wrong and ✨pain✨ (just that one call to `FindAllAsync` + await is like 4% of the total startup cost). I personally wouldn't even keep the old code because of that.
claunia added the Area-SettingsIssue-TaskProduct-TerminalArea-Quality labels 2026-01-31 06:53:18 +00:00
Author
Owner

@zadjii-msft commented on GitHub (May 3, 2023):

xlink #6726 is also something we need to fix in the next version of the SDK

@zadjii-msft commented on GitHub (May 3, 2023): xlink #6726 is also something we need to fix in the next version of the SDK
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#19776