简体   繁体   中英

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?

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM