You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But it's not suitable for UI(which has its own mainloop). so we need to use an adaptor to queue it in the mainloop, which make things too complex. Example:
Currently, the only way to consume corethread event is registering callback on
CoreThread.signalEvent
. Example:iptux/examples/count-bot/main.cpp
Lines 47 to 48 in cf49769
But it's not suitable for UI(which has its own mainloop). so we need to use an adaptor to queue it in the mainloop, which make things too complex. Example:
iptux/src/iptux/EventAdaptor.cpp
Lines 26 to 29 in cf49769
we need to add some methods to corethread, to make the consumer easier to write.
The text was updated successfully, but these errors were encountered: