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?

1
0
5/11/2018 10:08:06 PM

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

3
4/23/2018 5:40:59 AM


Related Questions





Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow
Licensed under: CC-BY-SA with attribution
Not affiliated with Stack Overflow