-
Notifications
You must be signed in to change notification settings - Fork 136
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
Add *Async overloads in batching mechanism #319
Comments
Is avalonia the UI framework used for citadel? |
There's an easy workaround. But the gist of it is that when binding actions (methods) to the UI, if the method doesn't return quickly, the UI dispatcher locks up. However, if the method bound is async (along with all inner IO-bound calls) the dispatcher manages to switch between drawing and execution to avoid freezing the app. The quick solution is to wrap anything in an async lambda, e.g.: However, for the Blazor WASM case, any |
I will implement an At the moment, the internal Composer is reused between calls. When There are a couple of options on how we can implement this:
Any thoughts or preferences? |
There is already a 1- As for the concurrency issues, I think we could solve it with a semaphore that protects the I can work a prototype of this later today. |
Lack of async methods in batching requests make it unuseable with avalonia and blazor wasm
The text was updated successfully, but these errors were encountered: