-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add EventLoopScheduler in timeout handling #19
Comments
Thank you for this feedback, is there a particular platform that this is an issue with? |
I'm currently working with WinUI3 in combination with NET6.
|
Released SerialPortRx V2.1.2 which should fix this |
Can you confirm this is now resolved. |
Hello Chris, thanks for the quick implementation. Another tip on my own behalf. If you do refactoring, push that in a separate commit. This makes it much easier to read the relevant code changes. 😉 |
Sorry about that, I realised that I was following some old coding standards and wanted to standardise on something more up to date. |
When using your code https://github.com/ChrisPulman/SerialPortRx/blob/master/SerialPortRx/SerialPortRxMixins.cs#L125, you will see that (for example 100ms) the delay is not working as expected:
If you additional add an
EventLoopScheduler
, everything works as expectedThe text was updated successfully, but these errors were encountered: