Peter Morris
Peter Morris

Reputation: 23224

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

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?

Upvotes: 0

Views: 632

Answers (1)

Vibeeshan Mahadeva
Vibeeshan Mahadeva

Reputation: 7238

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

Upvotes: 3

Related Questions