Skip to content
New issue

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

Make Remote Ops execution async #47

Open
mlalic opened this issue Oct 16, 2020 · 0 comments
Open

Make Remote Ops execution async #47

mlalic opened this issue Oct 16, 2020 · 0 comments
Labels
enhancement New feature or request WinRtBuilderApi Issues that are related to the WinRT Builder API

Comments

@mlalic
Copy link
Contributor

mlalic commented Oct 16, 2020

It could be useful for various clients to have an async version of Execute that doesn't block the calling thread.

One way to do it in this undocked helper libraries is to dispatch the work to a thread pool thread (co_await winrt::resume_background();) and do the work there.

Depending on feedback/input, the UIA platform might consider adding a "native" way to do async calls (without burning a threadpool thread) -- if it turns out that doing this in the wrapper only is insufficient for some user scenarios.

@mlalic mlalic added enhancement New feature or request WinRtBuilderApi Issues that are related to the WinRT Builder API labels Oct 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request WinRtBuilderApi Issues that are related to the WinRT Builder API
Projects
None yet
Development

No branches or pull requests

1 participant