> In the native side, store the FunctionInfo and call it when a event happens. The FunctionInfo has internally the callback ID and will route it to the appropriated callback, which is the one we have stored for a particular event.

@tmpsantos thanks the suggestion! I will save the FunctionInfo to do per event callback just like EventTarget extension.