Is it safe to use async event handler? #853
-
I was tried to find the implementation of |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 9 replies
-
Can you elaborate a bit more on the SychronizatiomContext? (My knowledge on this topic is quite limited.) In General I read through the documentation and can confirm that there is currently no GirCore specific implementation of the SynchronizationContext. It reads like it is needed to make async/await work without the need to manually dispatch the code back to the main loop to alter UI elements. Can you confirm this? Additionally we have currently issue #845 which could be related. Do you know if the synchronization context could help to catch those unhandled exceptions to avoid crashing the runtime? Having some samples would be really great as those could be used to create unit tests to ensure the desired behavior. |
Beta Was this translation helpful? Give feedback.
-
The PR has arrived #856! |
Beta Was this translation helpful? Give feedback.
The PR has arrived #856!