handle = addEventHandler ["whatever",{}];
the handle is only known once EH is created and the code is sealed, so there is no way passing this to the code upon EH creating. The only way to use this is to store EH handle in a variable for later use.
Why not pass EH handle to the code upon EH triggering? Like you can pass action ID to action code in addAction? Would make it so much easier to remove them from their own code.
Thank you.