Await async
(Adding message template to the top of the page) |
(Replacing message template with parser tag) |
||
Line 1: | Line 1: | ||
<message>Write the content here to display this box</message> | |||
In c# you have the async await pattern sections your code on compiler level and chuncks it up in the dispatcher queue in order to avoid user input blocking/freezing. | In c# you have the async await pattern sections your code on compiler level and chuncks it up in the dispatcher queue in order to avoid user input blocking/freezing. | ||
Revision as of 07:33, 17 June 2024
This page was created by Hans.karlsen on 2024-05-21. Last edited by Stephanie on 2025-03-05.
In c# you have the async await pattern sections your code on compiler level and chuncks it up in the dispatcher queue in order to avoid user input blocking/freezing.
Depending on what you want to do:
- Just adapt to an existing api that uses async?: Call it as a normal function and append with GetResult()
- Avoid UI blocking in Turnkey? In Turnkey this does not apply since UI interaction is in browser
- Avoid UI blocking in MDriven generic code? Training:IAsyncSupportService - MDrivenWiki