Skip to content
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

Polling new message data #13

Open
StackerDEV opened this issue Mar 8, 2018 · 3 comments
Open

Polling new message data #13

StackerDEV opened this issue Mar 8, 2018 · 3 comments
Labels

Comments

@StackerDEV
Copy link
Collaborator

GUI now uses a timer (lol) to poll new messages from the class to the GUI.
There must be a better way of doing this, less cpu intensive. Maybe with a event handler delegate?
or
https://msdn.microsoft.com/en-us/library/system.componentmodel.inotifypropertychanged(v=vs.110).aspx

@Terrorblade
Copy link
Collaborator

I would prefer being able to directly push into the gui which I tried to do before just making it list to fix the issue of it only being able to handle 1 message per gui update.

@Cyclone47
Copy link
Collaborator

Application uses 0-1% CPU on my device. No need to change this unless it's a bad function.

@StackerDEV
Copy link
Collaborator Author

It's indeed not bad but I would like to get rid of the timers. Its something for later on if we improve it more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants