How can I get a worker thread to execute a callback on the main UI thread?

asp.net-core blazor c#

Question

I want to execute a number of tasks in parallel, once complete I want to execute a callback on the main UI thread. Is this possible? If so, how?

Accepted Answer

Multiple threading is not yet currenly supported, Its still under consideration, but there is support for parallel execution using Async await (just like in C#).

https://github.com/aspnet/Blazor/issues/139

https://github.com/aspnet/Blazor/issues/140




Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Is this KB legal? Yes, learn why