events: move arity check to runtime
We cannot add attributes to a method, and I do not want to wrap the callback function or to modify the callback function set, so I moved the check to the runtime. It should not change the performance.
Please register or sign in to comment