Yes, using begin/end is a possible solution. For instance, Twiggy is using logic similar to this.
However, I would like to be protected from a callback firing twice. I would also like to untie the application logic from condvar handling - it's much easier to develop modules when they just rely on a running event loop.
In reply to Re^2: Callback multiplexer
by Dallaylaen
in thread Callback multiplexer
by Dallaylaen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |