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
Generally one may use an associated type or generic on the event loop, but it'll make API a bit complex and more prone to not being object safe, since the intention is to rely on &dyn T a lot.
I think what we can do is to develop an interface to Wakeup the event loop and then just notify that the loop got woken up, then the users can drain their sources of user events, like channels, Mutex<Vec>, etc.
The text was updated successfully, but these errors were encountered:
Generally one may use an associated type or generic on the event loop, but it'll make API a bit complex and more prone to not being object safe, since the intention is to rely on
&dyn T
a lot.I think what we can do is to develop an interface to
Wakeup
the event loop and then just notify that the loop got woken up, then the users can drain their sources of user events, like channels,Mutex<Vec>
, etc.The text was updated successfully, but these errors were encountered: