You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Async packages that proffer services through their (synchronous) service providers result in the package not loading asynchronously even when that service is queried for using QueryServiceAsync.
Proposed solution
All services from an AsyncPackage should be proffered with the IsAsyncQueryable flag and registered with a Task-returning service factory (even if the factory itself is implemented synchronously) to ensure the package is loaded asynchronously.
The text was updated successfully, but these errors were encountered:
Problem statement
Async packages that proffer services through their (synchronous) service providers result in the package not loading asynchronously even when that service is queried for using
QueryServiceAsync
.Proposed solution
All services from an
AsyncPackage
should be proffered with theIsAsyncQueryable
flag and registered with a Task-returning service factory (even if the factory itself is implemented synchronously) to ensure the package is loaded asynchronously.The text was updated successfully, but these errors were encountered: