Await async
Hans Karlsen (talk | contribs) (Created page with "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? /wiki.mdriven.net/Tra...") |
Hans Karlsen (talk | contribs) No edit summary |
||
Line 5: | Line 5: | ||
* Just adapt to an existing api that uses async?: Call it as a normal function and append with GetResult() | * 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 Turnkey? In Turnkey this does not apply since UI interaction is in browser | ||
* Avoid UI blocking in MDriven generic code? [[ | * Avoid UI blocking in MDriven generic code? [[Training:IAsyncSupportService|Training:IAsyncSupportService - MDrivenWiki]] |
Latest revision as of 07:31, 21 May 2024
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
This page was edited more than 8 months ago on 05/21/2024. What links here