#include <lua/poll.lh>
- evh:enable()
- evh:disable()
These two calls allow to turn an already initialized event handler on or off.
Once a generic event handler has been acquired using event:add(), the handler starts enabled and ready to use.
To temporarily stop receiving events for that handler without actually closing it, use evh:disable(). Obviously, the other function evh:enable() will turn event reporting for that handler back on.