Open
Description
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.
Metadata
Metadata
Assignees
Labels
No labels