armory icon indicating copy to clipboard operation
armory copied to clipboard

Add optional arguments for Event listeners.

Open moisesjpelaez opened this issue 5 months ago • 0 comments

This is a proposal. Moved the conversation from this PR and reopening it here since I messed up that previous branch.

Description: The send() method in the Event class currently only calls functions with no arguments, with this PR is possible to add custom arguments when calling Event.send().

I have tested it and worked, it shouldn't break compatibility with current Nodes and previous Projects. The current downside is that the console doesn't throw an error when a listener doesn't match the sender's arguments.

moisesjpelaez avatar Aug 28 '24 17:08 moisesjpelaez