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
Modified a few .Result / .Wait with await, but there are still a few places, like the Transport sync method:
public string GetObject(string id)
Still has to block the calling thread and can deadlock UI calls
So for now, callers of the SDK, especially when calling methods from the UI thread, must call with Task.Run to switch to a background thread for the actual work
We have a number of parallel mechanisms in place for faster serialization and server communication.
We should make sure the appropriate async mechanisms is used in each case.
In particular:
.Result
on a task will block the calling thread (used in a couple of places, make sure it's intended)This ticket is a result of multiple related issues / questions.
We should also briefly document somewhere the parallelism involved and how it's done.
The text was updated successfully, but these errors were encountered: